AnayShukla commited on
Commit
75cbb74
·
1 Parent(s): 28f22ef

fixing the fix

Browse files
Files changed (1) hide show
  1. frontend/src/App.jsx +4 -3
frontend/src/App.jsx CHANGED
@@ -43,6 +43,7 @@ function AppContent() {
43
  hasGuestMadeEdits,
44
  setHasGuestMadeEdits,
45
  isCheckingAuth, // <-- Pull in the new state
 
46
  } = useContext(PlayerContext);
47
 
48
  const [newDefaultId, setNewDefaultId] = useState("");
@@ -100,9 +101,9 @@ function AppContent() {
100
  if (isCheckingAuth || isLoadingDB) {
101
  return (
102
  <div className="min-h-screen bg-slate-950 flex flex-col items-center justify-center">
103
- <Loader2 className="w-12 h-12 text-emerald-500 animate-spin mb-4" />
104
- <h2 className="text-xl font-bold text-slate-200">Entering Mansion...</h2>
105
- <p className="text-sm text-slate-500 mt-2">Loading player database...</p>
106
  </div>
107
  );
108
  }
 
43
  hasGuestMadeEdits,
44
  setHasGuestMadeEdits,
45
  isCheckingAuth, // <-- Pull in the new state
46
+ isLoadingDB,
47
  } = useContext(PlayerContext);
48
 
49
  const [newDefaultId, setNewDefaultId] = useState("");
 
101
  if (isCheckingAuth || isLoadingDB) {
102
  return (
103
  <div className="min-h-screen bg-slate-950 flex flex-col items-center justify-center">
104
+ <div className="w-12 h-12 border-4 border-slate-800 border-t-luigi-500 rounded-full animate-spin"></div>
105
+ <p className="mt-4 text-luigi-400 font-bold tracking-widest uppercase text-xs animate-pulse">Entering Mansion...</p>
106
+ <p className="text-slate-500 text-[10px] mt-2 tracking-wider">Loading database...</p>
107
  </div>
108
  );
109
  }