Dep
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user