From fb323dac56ce2bbd4ced13953f236dfbe0a7570e Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 14 Feb 2026 00:45:05 +0000 Subject: [PATCH] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 8140869..c51e4a5 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -63,7 +63,7 @@ export default function ProductPage({ params }: ProductPageProps) { await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() }); }, [cartItems, checkout, getCheckoutItems]); - if (isLoading) { + if (isLoading || !product) { return (