From d1c97b7fa815656892dbb92b60ad85395f64dde0 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 11 Nov 2025 21:51:41 +0000 Subject: [PATCH] completionId: cgen-dc4d22b84f404f06990683f46c72dd03 cgen-dc4d22b84f404f06990683f46c72dd03 --- client/pages/Staff.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/pages/Staff.tsx b/client/pages/Staff.tsx index bf366a4c..cf8e9a8c 100644 --- a/client/pages/Staff.tsx +++ b/client/pages/Staff.tsx @@ -48,7 +48,8 @@ export default function Staff() { return () => clearTimeout(timer); }, []); - if (isLoading) { + // Show loading screen while checking authentication + if (isLoading || loading) { return (