Skip to content

Commit

Permalink
SWC-7133
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Oct 25, 2024
1 parent f8b9399 commit 46292e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/synapse-react-client/src/utils/AppUtils/AppUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export function processRedirectURLInOneSage() {
if (cookies.get(ONE_SAGE_REDIRECT_COOKIE_KEY)) {
const href = cookies.get(ONE_SAGE_REDIRECT_COOKIE_KEY)
cookies.remove(ONE_SAGE_REDIRECT_COOKIE_KEY)
window.location.assign(href)
// SWC-7133: Last minute fix for ToS update release. Ideally I think we would wait for the useLogin loginIsPending to be false
setTimeout(() => {
window.location.assign(href)
}, 300)
return true
}
//else
Expand Down

0 comments on commit 46292e6

Please sign in to comment.