the-tip-top-frontend/components
soufiane a363e0ab7f fix: add type assertion for role includes check in Navbar
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>
2025-11-18 01:39:19 +01:00
..
admin dev 2025-11-17 23:38:02 +01:00
forms dev 2025-11-17 23:38:02 +01:00
ui dev 2025-11-17 23:38:02 +01:00
AuthProviders.tsx dev 2025-11-17 23:38:02 +01:00
Button.tsx dev 2025-11-17 23:38:02 +01:00
Footer.tsx dev 2025-11-17 23:38:02 +01:00
Header.tsx fix: use uppercase role values in Header component switch statement 2025-11-18 01:28:08 +01:00
Logo.tsx dev 2025-11-17 23:38:02 +01:00
Navbar.tsx fix: add type assertion for role includes check in Navbar 2025-11-18 01:39:19 +01:00