Skip to content

Commit 6e4b6cf

Browse files
committed
Update ProductsSingleProduct.vue
1 parent dbb8a0e commit 6e4b6cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/Products/ProductsSingleProduct.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ const addProductToCart = async (product) => {
127127
await cart.addToCart(product);
128128
toast.value.show();
129129
} catch (error) {
130-
console.error("Error adding product to cart:", error);
131-
// You might want to show an error message to the user here
130+
132131
}
133132
};
134133
</script>

0 commit comments

Comments
 (0)