diff --git a/src/Footer/Component.tsx b/src/Footer/Component.tsx index a675c29..f8e75da 100644 --- a/src/Footer/Component.tsx +++ b/src/Footer/Component.tsx @@ -1,33 +1,33 @@ import { getCachedGlobal } from '@/utilities/getGlobals' -import Link from 'next/link' import React from 'react' - import { CMSLink } from '@/components/Link' +import { Container } from '@/components/ui/Container' // Standardize with your global grid export async function Footer() { const footerData = await getCachedGlobal('footer', 1)() - const navItems = footerData?.navItems || [] return ( ) } diff --git a/src/Header/Nav/index.tsx b/src/Header/Nav/index.tsx index 30310ad..fbb80ef 100644 --- a/src/Header/Nav/index.tsx +++ b/src/Header/Nav/index.tsx @@ -1,7 +1,7 @@ 'use client' import React from 'react' -import { Container } from '@/components/ui/Container' // Adjust path as needed +import { Container } from '@/components/ui/Container' import type { Header as HeaderType } from '@/payload-types' import { CMSLink } from '@/components/Link' @@ -9,21 +9,19 @@ export const HeaderNav: React.FC<{ data: HeaderType }> = ({ data }) => { const navItems = data?.navItems || [] return ( -