Skip to content

Commit

Permalink
Issue #000 chore: classId removed from localstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarnakale committed Jun 5, 2024
1 parent 9314a4d commit a9bbd68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/logout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function Logout() {
localStorage.removeItem('userId');
localStorage.removeItem('parentCohortId');
localStorage.removeItem('learnerId');
localStorage.removeItem('classId');

router.replace('/login');
}, []);
Expand Down

0 comments on commit a9bbd68

Please sign in to comment.