From ef7ff0b186581c8143fc12028a7a98ea556ed9f8 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 2 Jul 2025 20:43:23 +0530 Subject: [PATCH] Dep --- web/apps/photos/src/components/AuthenticateUser.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/apps/photos/src/components/AuthenticateUser.tsx b/web/apps/photos/src/components/AuthenticateUser.tsx index 7962c7d966..0b7e5ce1e2 100644 --- a/web/apps/photos/src/components/AuthenticateUser.tsx +++ b/web/apps/photos/src/components/AuthenticateUser.tsx @@ -83,10 +83,10 @@ export const AuthenticateUser: React.FC = ({ }, []); 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 (