mirror of
https://github.com/vercel/commerce.git
synced 2025-06-15 20:01:21 +00:00
Removed the footer changes
This commit is contained in:
parent
6f16b74580
commit
b1b157fb88
@ -3,7 +3,6 @@ import Link from 'next/link';
|
||||
import FooterMenu from 'components/layout/footer-menu';
|
||||
import LogoSquare from 'components/logo-square';
|
||||
import { getMenu } from 'lib/shopify';
|
||||
import { RemoveTheDomainFromArray } from 'lib/utils';
|
||||
import { Suspense } from 'react';
|
||||
|
||||
const { COMPANY_NAME, SITE_NAME } = process.env;
|
||||
@ -13,7 +12,6 @@ export default async function Footer() {
|
||||
const copyrightDate = 2023 + (currentYear > 2023 ? `-${currentYear}` : '');
|
||||
const skeleton = 'w-full h-6 animate-pulse rounded bg-neutral-200 dark:bg-neutral-700';
|
||||
const menu = await getMenu('next-js-frontend-footer-menu');
|
||||
const updatedMenuLinks = RemoveTheDomainFromArray(menu);
|
||||
const copyrightName = COMPANY_NAME || SITE_NAME || '';
|
||||
|
||||
return (
|
||||
@ -37,7 +35,7 @@ export default async function Footer() {
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<FooterMenu menu={updatedMenuLinks} />
|
||||
<FooterMenu menu={menu} />
|
||||
</Suspense>
|
||||
<div className="md:ml-auto">
|
||||
<a
|
||||
|
Loading…
x
Reference in New Issue
Block a user