Skip to content

Commit 9b8396b

Browse files
committed
Docs
1 parent c0f3159 commit 9b8396b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/Cart/CartItem.vue

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ const props = defineProps({
6161
6262
const emit = defineEmits(["remove"]);
6363
64+
/**
65+
* Emits a "remove" event with the `product` prop as the payload.
66+
*/
6467
const emitRemove = () => {
6568
emit("remove", props.product);
6669
};

0 commit comments

Comments
 (0)