Skip to content

Commit

Permalink
Addresses commented fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Swanson authored and Stephen Swanson committed Aug 5, 2024
1 parent 54c4ea9 commit 5410051
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -144,7 +144,7 @@ const Navbar = () => {
<Divider />
<ListSubheader>For Members</ListSubheader>
<List disablePadding>
{navFormembers.map((data: any) => (
{navForMembers.map((data: any) => (
<ListItem key={data.id} disablePadding>
<ListItemButton>
<ListItemIcon></ListItemIcon>
Expand Down
4 changes: 2 additions & 2 deletions hooks/types.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5410051

Please sign in to comment.