fix(spa): destructure t prop in CartDrawerFooter
This commit is contained in:
1 parent
fd3abcf487
commit
a1064a027b
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user