Skip to content

Commit

Permalink
chore(app): reset state when access changes fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 1, 2024
1 parent acb1863 commit d67da92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ const useUserDetails = () => {

refetchUser();
} catch (error) {
setIsProcessing(false);

throw new Error((error as Error).message);
}
};
Expand Down

0 comments on commit d67da92

Please sign in to comment.