From a1064a027bb7fba01931ea808aae6225f22c0130 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 6 Jun 2026 20:14:18 +0700 Subject: [PATCH] fix(spa): destructure t prop in CartDrawerFooter --- apps/spa/src/components/CartDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spa/src/components/CartDrawer.tsx b/apps/spa/src/components/CartDrawer.tsx index f6035ec..4e33db5 100644 --- a/apps/spa/src/components/CartDrawer.tsx +++ b/apps/spa/src/components/CartDrawer.tsx @@ -119,7 +119,7 @@ export default function CartDrawer() { ) } -function CartDrawerFooter({ subtotal, onClose }: { subtotal: number; onClose: () => void; t?: any }) { +function CartDrawerFooter({ subtotal, onClose, t }: { subtotal: number; onClose: () => void; t?: any }) { const [savedCoupon, setSavedCoupon] = React.useState(null) const [discountAmount, setDiscountAmount] = React.useState(0) const [isFreeShipping, setIsFreeShipping] = React.useState(false)