@@ -27,6 +27,9 @@ export const useCheckout = createSharedComposable(() => {
|
||||
currentCheckoutStep.value = checkoutSteps[findIndex - 1]
|
||||
router.push(`/checkout/${currentCheckoutStep?.value.title}`)
|
||||
}
|
||||
else {
|
||||
router.push(`/cart`)
|
||||
}
|
||||
}
|
||||
|
||||
function nextStep() {
|
||||
|
||||
Reference in New Issue
Block a user