Skip to content

Commit

Permalink
Merge pull request #245 from suvarnakale/shiksha-2.0
Browse files Browse the repository at this point in the history
Issue #000 chore: classId removed from localstorage
  • Loading branch information
itsvick authored Jun 5, 2024
2 parents 2efe9c6 + a9bbd68 commit 06491c9
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 06491c9

Please sign in to comment.