add exclude option to navlink active indicator
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user