diff --git a/src/components/UserProfileComponents/UserProfile.vue b/src/components/UserProfileComponents/UserProfile.vue index e560c29397d25006cf39aeb5010d5eba2b1484c7..b14c8062b29d5dfef4eab56812b539184731f14e 100644 --- a/src/components/UserProfileComponents/UserProfile.vue +++ b/src/components/UserProfileComponents/UserProfile.vue @@ -175,7 +175,7 @@ export default { }, async deleteUser(){ await UserService.deleteUser(); - this.$store.commit("logout"); + this.logout() }, }, beforeMount() {