Skip to content

Commit

Permalink
fix: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed May 28, 2024
1 parent f8bd806 commit b285685
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shared-helpers/src/auth/Timeout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ export const IdleTimeout: FunctionComponent<IdleTimeoutProps> = ({
const timeoutAction = async () => {
setPromptTimeout(undefined)
await onTimeout()
console.log(router.push.toString())
void router.push(redirectPath)
setSiteAlertMessage(alertMessage, alertType)
void router.push(redirectPath)
}
void timeoutAction()
}, PROMPT_TIMEOUT) as unknown as number
Expand Down

0 comments on commit b285685

Please sign in to comment.