We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c4a1f commit 00498f8Copy full SHA for 00498f8
components/Cart/CartItem.vue
@@ -54,6 +54,13 @@
54
import { ref, watch } from "vue";
55
import { formatPrice } from "@/utils/functions";
56
57
+const props = defineProps({
58
+ product: {
59
+ type: Object,
60
+ required: true,
61
+ },
62
+});
63
+
64
const isRemoving = ref(false);
65
const isUpdating = ref(false);
66
const localQuantity = ref(props.product.quantity);
@@ -65,13 +72,6 @@ watch(
72
}
73
);
67
74
68
-const props = defineProps({
69
- product: {
70
- type: Object,
71
- required: true,
- },
-});
-
75
const emit = defineEmits(["remove", "update-quantity"]);
76
77
/**
0 commit comments