mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-27 15:26:41 +00:00
fix useEffect re-render too many times
This commit is contained in:
@@ -178,18 +178,7 @@ export default function ValidateOidcToken(props: ValidateOidcTokenParams) {
|
|||||||
return () => {
|
return () => {
|
||||||
isCancelled = true;
|
isCancelled = true;
|
||||||
};
|
};
|
||||||
}, [
|
}, []);
|
||||||
env.app.dashboardUrl,
|
|
||||||
isLicenseViolation,
|
|
||||||
props.code,
|
|
||||||
props.expectedState,
|
|
||||||
props.idpId,
|
|
||||||
props.loginPageId,
|
|
||||||
props.providerError,
|
|
||||||
props.stateCookie,
|
|
||||||
router,
|
|
||||||
t
|
|
||||||
]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center justify-center min-h-screen">
|
<div className="flex items-center justify-center min-h-screen">
|
||||||
|
|||||||
Reference in New Issue
Block a user