From 25ddc5e6430b5e6d20eaeaa53de3c57de3f8e3ce Mon Sep 17 00:00:00 2001 From: Lee Robinson Date: Tue, 26 Mar 2024 16:15:01 -0500 Subject: [PATCH] Update dependencies. (#1314) --- app/error.tsx | 2 +- app/product/[handle]/page.tsx | 20 +- app/search/layout.tsx | 2 +- components/cart/modal.tsx | 2 +- components/layout/footer-menu.tsx | 2 +- components/layout/footer.tsx | 4 +- components/layout/navbar/index.tsx | 10 +- components/layout/navbar/mobile-menu.tsx | 10 +- components/layout/navbar/search.tsx | 14 + components/layout/search/filter/index.tsx | 11 +- components/layout/search/filter/item.tsx | 2 +- components/product/product-description.tsx | 9 +- package.json | 42 +- pnpm-lock.yaml | 1793 +++++++++++--------- 14 files changed, 1114 insertions(+), 809 deletions(-) diff --git a/app/error.tsx b/app/error.tsx index e0a7416a3..80b32a42a 100644 --- a/app/error.tsx +++ b/app/error.tsx @@ -2,7 +2,7 @@ export default function Error({ reset }: { reset: () => void }) { return ( -
+

Oh no!

There was an issue with our storefront. This could be a temporary issue, please try your diff --git a/app/product/[handle]/page.tsx b/app/product/[handle]/page.tsx index cf31f0021..049f7bcfb 100644 --- a/app/product/[handle]/page.tsx +++ b/app/product/[handle]/page.tsx @@ -82,14 +82,20 @@ export default async function ProductPage({ params }: { params: { handle: string }} />

-
+
- ({ - src: image.url, - altText: image.altText - }))} - /> + + } + > + ({ + src: image.url, + altText: image.altText + }))} + /> +
diff --git a/app/search/layout.tsx b/app/search/layout.tsx index 24d1480d3..011d41e8b 100644 --- a/app/search/layout.tsx +++ b/app/search/layout.tsx @@ -7,7 +7,7 @@ import { Suspense } from 'react'; export default function SearchLayout({ children }: { children: React.ReactNode }) { return ( -
+
diff --git a/components/cart/modal.tsx b/components/cart/modal.tsx index aee2f7a47..a30818940 100644 --- a/components/cart/modal.tsx +++ b/components/cart/modal.tsx @@ -64,7 +64,7 @@ export default function CartModal({ cart }: { cart: Cart | undefined }) { leaveFrom="translate-x-0" leaveTo="translate-x-full" > - +

My Cart

diff --git a/components/layout/footer-menu.tsx b/components/layout/footer-menu.tsx index 4f6387edd..444406294 100644 --- a/components/layout/footer-menu.tsx +++ b/components/layout/footer-menu.tsx @@ -19,7 +19,7 @@ const FooterMenuItem = ({ item }: { item: Menu }) => { -
+
- + {SITE_NAME} diff --git a/components/layout/navbar/index.tsx b/components/layout/navbar/index.tsx index 0058d5ec8..f7d2f6af9 100644 --- a/components/layout/navbar/index.tsx +++ b/components/layout/navbar/index.tsx @@ -6,7 +6,7 @@ import { Menu } from 'lib/shopify/types'; import Link from 'next/link'; import { Suspense } from 'react'; import MobileMenu from './mobile-menu'; -import Search from './search'; +import Search, { SearchSkeleton } from './search'; const { SITE_NAME } = process.env; export default async function Navbar() { @@ -15,7 +15,9 @@ export default async function Navbar() { return (