fix useEffect re-render too many times

This commit is contained in:
miloschwartz
2025-12-17 11:18:30 -05:00
parent 78369b6f6a
commit 0f79826535

View File

@@ -178,18 +178,7 @@ export default function ValidateOidcToken(props: ValidateOidcTokenParams) {
return () => {
isCancelled = true;
};
}, [
env.app.dashboardUrl,
isLicenseViolation,
props.code,
props.expectedState,
props.idpId,
props.loginPageId,
props.providerError,
props.stateCookie,
router,
t
]);
}, []);
return (
<div className="flex items-center justify-center min-h-screen">