fix(left-sidebar): valid names for icons

This commit is contained in:
RadoslavDimchev 2024-04-11 09:19:59 +03:00 committed by Radoslav Dimchev
parent 617acabb1b
commit 4efc0e5e3c
2 changed files with 10 additions and 6 deletions

View File

@ -19,11 +19,11 @@ import { RootState } from '../../../redux/store'
const iconMap = { const iconMap = {
'/dashboard': <DashboardIcon size={20} />, '/dashboard': <DashboardIcon size={20} />,
'/validator-management': <SpeedIcon size={20} />, '/validator-management': <SpeedIcon size={20} />,
'/charts': <ChartIcon size={20} />, '/advanced-analytics': <ChartIcon size={20} />,
'/device-health-check': <HeartIcon size={20} />, '/device-health-check': <HeartIcon size={20} />,
'/logs': <CodeBlockIcon size={20} />, '/logs': <CodeBlockIcon size={20} />,
'/communities': <CommunitiesIcon size={20} />, '/community': <CommunitiesIcon size={20} />,
'/activityCenter': <ActivityCenterIcon size={20} />, '/notifications': <ActivityCenterIcon size={20} />,
'/settings': <SettingsIcon size={20} />, '/settings': <SettingsIcon size={20} />,
} }

View File

@ -284,7 +284,8 @@ export const LEFT_SIDEBAR_ICONS = [
tooltip: 'Validator Management', tooltip: 'Validator Management',
}, },
{ {
path: '/charts', path: '/advanced-analytics',
tooltip: 'Advanced Analytics',
}, },
{ {
path: '/device-health-check', path: '/device-health-check',
@ -292,13 +293,16 @@ export const LEFT_SIDEBAR_ICONS = [
}, },
{ path: '/logs', tooltip: 'Logs' }, { path: '/logs', tooltip: 'Logs' },
{ {
path: '/communities', path: '/community',
tooltip: 'Community',
}, },
{ {
path: '/activityCenter', path: '/notifications',
tooltip: 'Notifications',
}, },
{ {
path: '/settings', path: '/settings',
tooltip: 'Settings',
}, },
] ]