Skip to content

Commit 13b127f

Browse files
authored
Merge pull request #1508 from w3bdesign/develop
Fix checkout
2 parents b1d9d5d + 7e74365 commit 13b127f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pages/checkout.vue

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@
66
</template>
77

88
<script setup>
9-
import { useCart } from "@/store/useCart";
10-
import { watch } from "vue";
11-
12-
const cart = useCart();
13-
14-
watch(
15-
() => cart.loading,
16-
(loading) => {
17-
if (!loading && cart.cart.length === 0) {
18-
navigateTo("/");
19-
}
20-
},
21-
{ immediate: true },
22-
);
23-
249
useHead({
2510
title: "Checkout",
2611
titleTemplate: "%s - Nuxt 3 Woocommerce",

0 commit comments

Comments
 (0)