Skip to content

Commit

Permalink
fix: user data after logout (#1309)
Browse files Browse the repository at this point in the history
Co-authored-by: Narayan soni <narayansoni854@gmail.com>
  • Loading branch information
tushar-daiya and narayan954 authored Dec 10, 2023
1 parent bc4ce58 commit df37acb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/SideBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function SideBar() {
const signOut = () => {
auth.signOut().finally(() => {
playSuccessSound();
sessionStorage.clear();
enqueueSnackbar("Logged out Successfully !", {
variant: "info",
});
Expand Down

0 comments on commit df37acb

Please sign in to comment.