Skip to content

Commit

Permalink
fix cart
Browse files Browse the repository at this point in the history
  • Loading branch information
Koryakinaisen committed Dec 19, 2024
1 parent 00cb86f commit 8c56b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/services/authService.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const logoutUser = () => {
localStorage.removeItem('isAdmin');
localStorage.removeItem('isAuthenticated');
localStorage.removeItem('id')
localStorage.removeItem('cart')
store.dispatch('logout').then(() => {
window.location.href = '/'
})
Expand Down

0 comments on commit 8c56b8d

Please sign in to comment.