diff --git a/src/components/partials/Navbar.vue b/src/components/partials/Navbar.vue index 91a965857987710321ad98168fd91c27267a2800..8aaf6a8c819586a1c99adeff7c79acd35057b933 100644 --- a/src/components/partials/Navbar.vue +++ b/src/components/partials/Navbar.vue @@ -76,7 +76,7 @@ export default { }, logOut() { this.$cookie.set('token', ""); - this.$store.commit('resetUser') + this.$store.commit('clearUser') this.$router.push({name: 'LandingPage'}); } },