diff --git a/core/src/backends/git-gateway/AuthenticationPage.tsx b/core/src/backends/git-gateway/AuthenticationPage.tsx index a6be7d42..edbe8433 100644 --- a/core/src/backends/git-gateway/AuthenticationPage.tsx +++ b/core/src/backends/git-gateway/AuthenticationPage.tsx @@ -60,7 +60,8 @@ const GitGatewayAuthenticationPage = ({ onLogin(window.netlifyIdentity.currentUser()); window.netlifyIdentity.close(); } - }, [loggedIn, onLogin]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); const handleIdentityLogin = useCallback( (user: User) => {