Skip to content

Commit

Permalink
fix: logout reason should reset when login is successful (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini authored Jul 9, 2024
1 parent 8ad9570 commit 44f1fdf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const reducer = (state: AuthState, action: InternalActions) => {
isLoading: false,
isAuthenticated: true,
user: action.payload.user,
logoutReason: "",
};
}

Expand Down

0 comments on commit 44f1fdf

Please sign in to comment.