This commit is contained in:
Manav Rathi
2025-07-02 20:43:23 +05:30
parent 95c35d7df8
commit ef7ff0b186

View File

@@ -83,10 +83,10 @@ export const AuthenticateUser: React.FC<AuthenticateUserProps> = ({
}, []);
useEffect(() => {
// Do a non-blocking validation of the session, but show the dialog to
// the user.
// Do a non-blocking validation of the session whenever we show the
// dialog to the user.
if (open) void validateSession();
}, [open]);
}, [open, validateSession]);
return (
<TitledMiniDialog