Skip to content

Commit

Permalink
Merge pull request #9 from Electrium-Mobility/feature/JerryZ
Browse files Browse the repository at this point in the history
fixed error on cart-notification
  • Loading branch information
Jerryzjx authored Sep 30, 2024
2 parents 57dc721 + 21ef2a6 commit 7ceec5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/checkout/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default async function CheckoutPage() {

return (
<div className="min-h-screen">
<Navbar/>
<main className="bg-white py-16 px-16">
<h1 className="text-4xl font-bold text-green-600 mb-2 text-center w-full">Checkout</h1>
<div className="lg:flex lg:flex-row">
Expand Down Expand Up @@ -96,7 +95,6 @@ export default async function CheckoutPage() {
</div>
</div>
</main>
<Footer/>
</div>
)
}
2 changes: 1 addition & 1 deletion app/products/[productId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";


Expand Down

0 comments on commit 7ceec5f

Please sign in to comment.