Skip to content

Commit

Permalink
Rp/fix token refresh (#12)
Browse files Browse the repository at this point in the history
* correctly update userContext

* v2.0.2

---------

Co-authored-by: Richard Pryce <[email protected]>
  • Loading branch information
richpryce and richpryce authored May 25, 2023
1 parent 74811c7 commit b16e3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppSwitcher/LoginComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const LoginComponent:React.FC<LoginComponentProps> = (props) => {
return (()=>{
window.clearInterval(intervalTimerId);
})
}, []);
}, [userContext]);

useEffect(()=>{
if(refreshFailed) {
Expand Down

0 comments on commit b16e3e8

Please sign in to comment.