Skip to content

Commit

Permalink
devex: clear judgeUser on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Mwindo committed Jan 10, 2025
1 parent cd4b123 commit ca35bc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-client/src/presenter/actions/clearUserAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const clearUserAction = async ({
store,
}: ActionProps) => {
store.set(state.user, cloneDeep(emptyUserState));
store.unset(state.judgeUser);
store.unset(state.token);
store.unset(state.permissions);

Expand Down

0 comments on commit ca35bc1

Please sign in to comment.