Add 'as any' type assertion to user.role in NAV_ITEMS filter to resolve TypeScript compilation error. The 'as const' assertion on NAV_ITEMS makes the roles arrays readonly with literal types, which TypeScript cannot match with the User role type without the assertion. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| forms | ||
| ui | ||
| AuthProviders.tsx | ||
| Button.tsx | ||
| Footer.tsx | ||
| Header.tsx | ||
| Logo.tsx | ||
| Navbar.tsx | ||