We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a681d81 + 598d20b commit 1811869Copy full SHA for 1811869
components/Header/Cart.vue
@@ -71,7 +71,7 @@ export default {
71
// Check if we are in the browser before checking localStorage
72
// Will refresh the page to refetch the session from WooCommerce
73
if (process.browser && !localStorage.getItem('woo-session')) {
74
- this.$router.push({ path: '/', force: true })
+ window.location.reload(true)
75
}
76
},
77
0 commit comments