diff --git a/app/payment/page.tsx b/app/payment/page.tsx index 09d4233..ae27fb5 100644 --- a/app/payment/page.tsx +++ b/app/payment/page.tsx @@ -1,5 +1,6 @@ "use client"; +import Link from 'next/link'; import { useCart } from "@/lib/cart-context"; const formatPrice = (value: number) => @@ -30,7 +31,7 @@ export default function PaymentPage() { ) : (
- +
@@ -47,7 +48,7 @@ export default function PaymentPage() { -
Tên sản phẩm {formatPrice(item.price)} +

{item.description}

@@ -65,6 +66,7 @@ export default function PaymentPage() { value={item.quantity} onChange={(e) => setQuantity(item.id, Number(e.target.value))} className="w-16 h-8 text-center rounded-lg border border-(--color-border) bg-transparent" + title='Nhập số lượng' /> + + + + diff --git a/components/CartFab.tsx b/components/CartFab.tsx index dd6fe95..6da4f6d 100644 --- a/components/CartFab.tsx +++ b/components/CartFab.tsx @@ -12,7 +12,7 @@ export default function CartFab() {