Skip to content

Commit 6a4e78c

Browse files
committed
Merge if
1 parent 95be13b commit 6a4e78c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

nuxt3/components/Layout/LayoutCart.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ const updateCartDisplay = () => {
6363
}
6464
6565
setInterval(() => {
66-
if (process.client) {
67-
if (!pending.value && getCookie('woo-session')) {
68-
execute()
69-
updateCartDisplay()
70-
}
66+
if (process.client && !pending.value && getCookie('woo-session')) {
67+
execute()
68+
updateCartDisplay()
7169
}
7270
}, 3000)
7371
</script>

0 commit comments

Comments
 (0)