diff --git a/src/app/components/uia-stages/SSOStage.tsx b/src/app/components/uia-stages/SSOStage.tsx index 0c027e770..dbeb5b103 100644 --- a/src/app/components/uia-stages/SSOStage.tsx +++ b/src/app/components/uia-stages/SSOStage.tsx @@ -14,14 +14,12 @@ export function SSOStage({ const { errorCode, error, session } = stageData; const [ssoWindow, setSSOWindow] = useState(); - const handleSubmit = useCallback( - () => - submitAuthDict({ - type: AuthType.Sso, - session, - }), - [submitAuthDict, session] - ); + const handleSubmit = useCallback(() => { + submitAuthDict({ + type: AuthType.Sso, + session, + }); + }, [submitAuthDict, session]); const handleContinue = () => { const w = window.open(ssoRedirectURL, '_blank');