From 5410051ef17a16385a64d58d8aa9d66384459b3c Mon Sep 17 00:00:00 2001 From: Stephen Swanson Date: Mon, 5 Aug 2024 18:56:08 +0300 Subject: [PATCH] Addresses commented fixes --- components/Navbar.tsx | 4 ++-- hooks/types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index e82454b..e36d51f 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -30,7 +30,7 @@ const Navbar = () => { const router = useRouter(); const currentRoute = router.pathname; const navGeneral = cmsData.data.slice(0, 4); - const navFormembers = cmsData.data.slice(4); + const navForMembers = cmsData.data.slice(4); useEffect(() => { // Import text @@ -144,7 +144,7 @@ const Navbar = () => { For Members - {navFormembers.map((data: any) => ( + {navForMembers.map((data: any) => ( diff --git a/hooks/types.ts b/hooks/types.ts index 27d07cc..57d6901 100644 --- a/hooks/types.ts +++ b/hooks/types.ts @@ -1,8 +1,8 @@ type CMSItem = { id: number; - user_created: string; + user_created: null; date_created: string; - user_updated: string | null; + user_updated: null; date_updated: string | null; text_en: string; text_fi: string;