Skip to content

Commit

Permalink
Amplify V6: Remove window.location call in logout to stop cancelling …
Browse files Browse the repository at this point in the history
…cognito call (#824)
  • Loading branch information
ntsummers1 authored Dec 11, 2024
1 parent 68cbd8f commit b07f025
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/ui-src/src/utils/auth/UserProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const UserProvider = ({ children }: Props) => {
} catch (error) {
console.log(error); // eslint-disable-line no-console
}
window.location.assign(config.POST_SIGNOUT_REDIRECT);
};

const checkAuthState = useCallback(async () => {
Expand Down

0 comments on commit b07f025

Please sign in to comment.