From e2f630c8c8efc81226fcc202e3d5a522c367480c Mon Sep 17 00:00:00 2001 From: alireza-sharifpour Date: Thu, 10 Aug 2023 14:37:09 +0330 Subject: [PATCH] Fixed Giveconomy dictation --- src/hooks/useNavigationInfo.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/useNavigationInfo.ts b/src/hooks/useNavigationInfo.ts index 772f536e7d..7e9043efad 100644 --- a/src/hooks/useNavigationInfo.ts +++ b/src/hooks/useNavigationInfo.ts @@ -3,7 +3,7 @@ import { projectsItems } from '@/components/menu/ProjectsItems'; import { giveconomyItems } from '@/components/menu/GIVeconomyItems'; import { communityItems } from '@/components/menu/CommunityItems'; -type Section = 'Community' | 'Projects' | 'GIVEconomy' | 'Home'; +type Section = 'Community' | 'Projects' | 'GIVeconomy' | 'Home'; export const useNavigationInfo = () => { const router = useRouter(); @@ -26,7 +26,7 @@ export const useNavigationInfo = () => { // Handle dynamic route return 'Projects'; } else if (giveconomyRoutes.some(route => path.startsWith(route))) { - return 'GIVEconomy'; + return 'GIVeconomy'; } return 'Home'; // default };