diff --git a/frontend/src/services/authService.js b/frontend/src/services/authService.js index eff49b8..8d9be9f 100644 --- a/frontend/src/services/authService.js +++ b/frontend/src/services/authService.js @@ -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 = '/' })