completionId: cgen-dc4d22b84f404f06990683f46c72dd03
cgen-dc4d22b84f404f06990683f46c72dd03
This commit is contained in:
parent
c3b1fba211
commit
d1c97b7fa8
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ export default function Staff() {
|
|||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
|
||||
if (isLoading) {
|
||||
// Show loading screen while checking authentication
|
||||
if (isLoading || loading) {
|
||||
return (
|
||||
<LoadingScreen
|
||||
message="Securing Staff Portal..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue