Skip to content

Commit 0dd6d48

Browse files
authored
Merge pull request #1486 from w3bdesign/develop
Update CartItem.vue
2 parents 62e0b77 + 00498f8 commit 0dd6d48

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/Cart/CartItem.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@
5454
import { ref, watch } from "vue";
5555
import { formatPrice } from "@/utils/functions";
5656
57+
const props = defineProps({
58+
product: {
59+
type: Object,
60+
required: true,
61+
},
62+
});
63+
5764
const isRemoving = ref(false);
5865
const isUpdating = ref(false);
5966
const localQuantity = ref(props.product.quantity);
@@ -65,13 +72,6 @@ watch(
6572
}
6673
);
6774
68-
const props = defineProps({
69-
product: {
70-
type: Object,
71-
required: true,
72-
},
73-
});
74-
7575
const emit = defineEmits(["remove", "update-quantity"]);
7676
7777
/**

0 commit comments

Comments
 (0)