From 4efc0e5e3c883a0a1b985bd3e072bd669053fc00 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 11 Apr 2024 09:19:59 +0300 Subject: [PATCH] fix(left-sidebar): valid names for icons --- src/components/General/LeftSidebar/LeftSidebar.tsx | 6 +++--- src/constants.ts | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/General/LeftSidebar/LeftSidebar.tsx b/src/components/General/LeftSidebar/LeftSidebar.tsx index a8c8c9d6..b3901ee9 100644 --- a/src/components/General/LeftSidebar/LeftSidebar.tsx +++ b/src/components/General/LeftSidebar/LeftSidebar.tsx @@ -19,11 +19,11 @@ import { RootState } from '../../../redux/store' const iconMap = { '/dashboard': , '/validator-management': , - '/charts': , + '/advanced-analytics': , '/device-health-check': , '/logs': , - '/communities': , - '/activityCenter': , + '/community': , + '/notifications': , '/settings': , } diff --git a/src/constants.ts b/src/constants.ts index e9e4b198..cdf78c69 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -284,7 +284,8 @@ export const LEFT_SIDEBAR_ICONS = [ tooltip: 'Validator Management', }, { - path: '/charts', + path: '/advanced-analytics', + tooltip: 'Advanced Analytics', }, { path: '/device-health-check', @@ -292,13 +293,16 @@ export const LEFT_SIDEBAR_ICONS = [ }, { path: '/logs', tooltip: 'Logs' }, { - path: '/communities', + path: '/community', + tooltip: 'Community', }, { - path: '/activityCenter', + path: '/notifications', + tooltip: 'Notifications', }, { path: '/settings', + tooltip: 'Settings', }, ]