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() { ) : (
| Tên sản phẩm | @@ -47,7 +48,7 @@ export default function PaymentPage() {{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' /> |
|---|