add exclude option to navlink active indicator

This commit is contained in:
2025-08-31 10:02:17 -05:00
parent d2e4f0ca3f
commit b7d14be590
2 changed files with 46 additions and 11 deletions

View File

@@ -17,7 +17,8 @@ export const useLinks = (userId: string | undefined, roles: string[]) =>
{
label: 'Tournaments',
href: '/tournaments',
Icon: TrophyIcon
Icon: TrophyIcon,
exclude: ['/admin/tournaments']
},
{
label: 'Profile',