Skip to content

Commit 4ec268b

Browse files
Revert file
1 parent e917f23 commit 4ec268b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/js/stores/useCart.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ export const taxTotal = computed(() => {
271271
return cart.value.prices.applied_taxes.reduce((sum, tax) => sum + tax.amount.value, 0)
272272
})
273273

274-
// watch(mask, refresh)
275-
// if (cartStorage.value?.id && !mask.value) {
276-
// clear()
277-
// }
274+
watch(mask, refresh)
275+
if (cartStorage.value?.id && !mask.value) {
276+
clear()
277+
}
278278

279279
export default () => cart

0 commit comments

Comments
 (0)