fix(spa): destructure t prop in CartDrawerFooter

This commit is contained in:
Your Name committed 2026-06-06 20:14:18 +07:00
1 parent fd3abcf487
commit a1064a027b
1 file changed
+1 -1
+1 -1
View File
@@ -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<string | null>(null)
const [discountAmount, setDiscountAmount] = React.useState<number>(0)
const [isFreeShipping, setIsFreeShipping] = React.useState<boolean>(false)