Skip to content

Commit 1811869

Browse files
authored
Merge pull request #223 from w3bdesign/dev
Readd window reload
2 parents a681d81 + 598d20b commit 1811869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Header/Cart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
// Check if we are in the browser before checking localStorage
7272
// Will refresh the page to refetch the session from WooCommerce
7373
if (process.browser && !localStorage.getItem('woo-session')) {
74-
this.$router.push({ path: '/', force: true })
74+
window.location.reload(true)
7575
}
7676
},
7777
},

0 commit comments

Comments
 (0)