Skip to content

Commit

Permalink
Fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed May 7, 2024
1 parent 2800cf2 commit b9f7fc5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/hooks/useNavItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ export default function useNavItems(): ReturnType {
} : null;

const verifiedContracts: NavItem | null =
{
text: 'Verified contracts',
nextRoute: { pathname: '/verified-contracts' as const },
icon: 'verified',
isActive: pathname === '/verified-contracts',
};
{
text: 'Verified contracts',
nextRoute: { pathname: '/verified-contracts' as const },
icon: 'verified',
isActive: pathname === '/verified-contracts',
};
const ensLookup = config.features.nameService.isEnabled ? {
text: 'Name services lookup',
nextRoute: { pathname: '/name-domains' as const },
Expand All @@ -73,13 +73,13 @@ export default function useNavItems(): ReturnType {
isActive: pathname === '/validators',
} : null;
const rollupDeposits = {
text: `Deposits (L1${ rightLineArrow }L2)`,
text: `Deposits (L1${rightLineArrow}L2)`,
nextRoute: { pathname: '/deposits' as const },
icon: 'arrows/south-east',
isActive: pathname === '/deposits',
};
const rollupWithdrawals = {
text: `Withdrawals (L2${ rightLineArrow }L1)`,
text: `Withdrawals (L2${rightLineArrow}L1)`,
nextRoute: { pathname: '/withdrawals' as const },
icon: 'arrows/north-east',
isActive: pathname === '/withdrawals',
Expand Down Expand Up @@ -182,7 +182,7 @@ export default function useNavItems(): ReturnType {
} : null,
{
text: 'Developer Docs',
icon: rocket,
icon: 'rocket',
url: 'https://docs.subspace.network/docs/developers/intro',
},
].filter(Boolean);
Expand Down Expand Up @@ -284,5 +284,5 @@ export default function useNavItems(): ReturnType {
};

return { mainNavItems, accountNavItems, profileItem };
}, [ pathname ]);
}, [pathname]);
}

0 comments on commit b9f7fc5

Please sign in to comment.