2025-03-26 15:29:57 -04:00

15 lines
236 B
TypeScript

import {
addItem,
removeItem,
updateItemQuantity,
redirectToCheckout,
} from './actions'
const handleCheckout = async () => {
try {
await redirectToCheckout()
} catch (e) {
console.error('Checkout error:', e)
}
}