Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparowhawk committed Dec 11, 2024
1 parent af0a247 commit da3dd39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions VAMobile/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,7 @@ export function AuthGuard() {
}
console.debug('AuthGuard: initializing')
if (!loggedIn) {
initializeAuth(dispatch, () => {
refreshAccessToken(getAccessToken() || '', mutateOptions)
})
initializeAuth(dispatch, () => refreshAccessToken(getAccessToken() || '', mutateOptions))
}
}, [loggedIn, refreshAccessToken, handleTokenCallbackUrl, postLoggedIn, dispatch])

Expand Down

0 comments on commit da3dd39

Please sign in to comment.