diff --git a/app/page.tsx b/app/page.tsx index 0fad0ac28..7d407ede8 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -9,7 +9,7 @@ export const metadata = { } }; -export default async function HomePage() { +export default function HomePage() { return ( <> diff --git a/app/product/[handle]/page.tsx b/app/product/[handle]/page.tsx index dd964ccf5..e2280675d 100644 --- a/app/product/[handle]/page.tsx +++ b/app/product/[handle]/page.tsx @@ -4,6 +4,7 @@ import { notFound } from 'next/navigation'; import { GridTileImage } from 'components/grid/tile'; import Footer from 'components/layout/footer'; import { Gallery } from 'components/product/gallery'; +import { ProductProvider } from 'components/product/product-context'; import { ProductDescription } from 'components/product/product-description'; import { HIDDEN_PRODUCT_TAG } from 'lib/constants'; import { getProduct, getProductRecommendations } from 'lib/shopify'; @@ -72,7 +73,7 @@ export default async function ProductPage({ params }: { params: { handle: string }; return ( - <> +