Fix UI jank a bit
This commit is contained in:
parent
73c7d3efed
commit
3d6081823c
18 changed files with 193 additions and 87 deletions
5
App.tsx
5
App.tsx
|
|
@ -137,10 +137,10 @@ function App() {
|
|||
});
|
||||
|
||||
return (
|
||||
<div className="min-h-screen text-white relative">
|
||||
<div className="h-screen text-white relative overflow-hidden">
|
||||
<FloatingShapes />
|
||||
|
||||
<div className="relative z-10">
|
||||
<div className="relative z-10 h-full">
|
||||
{gameState === 'LANDING' || gameState === 'GENERATING' ? (
|
||||
<Landing
|
||||
onGenerate={startQuizGen}
|
||||
|
|
@ -179,6 +179,7 @@ function App() {
|
|||
role={role}
|
||||
onStart={startGame}
|
||||
onEndGame={role === 'HOST' ? endGame : undefined}
|
||||
currentPlayerId={currentPlayerId}
|
||||
/>
|
||||
{auth.isAuthenticated && pendingQuizToSave && (
|
||||
<SaveQuizPrompt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue