completionId: cgen-dc4d22b84f404f06990683f46c72dd03

cgen-dc4d22b84f404f06990683f46c72dd03
This commit is contained in:
Builder.io 2025-11-11 21:51:41 +00:00
parent c3b1fba211
commit d1c97b7fa8

View file

@ -48,7 +48,8 @@ export default function Staff() {
return () => clearTimeout(timer); return () => clearTimeout(timer);
}, []); }, []);
if (isLoading) { // Show loading screen while checking authentication
if (isLoading || loading) {
return ( return (
<LoadingScreen <LoadingScreen
message="Securing Staff Portal..." message="Securing Staff Portal..."