From 04c047e1fd56c535dc20feb756d94ea0f318fe9e Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Sat, 28 Sep 2024 18:36:27 -0400 Subject: [PATCH 1/2] fixed error on cart-notification --- app/products/[productId]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/products/[productId]/page.tsx b/app/products/[productId]/page.tsx index bb2ed19..efa9667 100644 --- a/app/products/[productId]/page.tsx +++ b/app/products/[productId]/page.tsx @@ -2,7 +2,7 @@ import React from 'react'; import Image from 'next/image'; import Navbar from '@/components/shop/Navbar'; import Footer from '@/components/shop/Footer'; -import {getOneBike} from "@/utils/getBike"; +import {Bike, getOneBike} from "@/utils/getBike"; import {notFound} from "next/navigation"; From 21ef2a641417eecd5a9d15c31b619dc3b1ed6acc Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Sat, 28 Sep 2024 18:50:35 -0400 Subject: [PATCH 2/2] removed duplicate navbar & footer --- app/checkout/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/checkout/page.tsx b/app/checkout/page.tsx index 4f32fbf..156b0b5 100644 --- a/app/checkout/page.tsx +++ b/app/checkout/page.tsx @@ -62,7 +62,6 @@ export default async function CheckoutPage() { return (
-

Checkout

@@ -96,7 +95,6 @@ export default async function CheckoutPage() {
-