Skip to content

Commit 3606eaf

Browse files
committed
Temporary fix for add to cart bug
1 parent c181939 commit 3606eaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/Products/ProductsSingleProduct.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ const addProductToCart = async (product) => {
138138
139139
onDone(() => {
140140
isLoading.value = false;
141+
// Refresh the page
142+
window.location.reload();
141143
});
142144
143145
onError(() => {

0 commit comments

Comments
 (0)