diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 516d2fd..35b3d74 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -622,6 +622,7 @@ export default function App() { : []; const isHost = !!(me?.id && gameMeta?.host_user_id && me.id === gameMeta.host_user_id); + const gameStarted = !!gameMeta?.started; return (
@@ -666,38 +667,43 @@ export default function App() { onStartGame={startGame} /> - {/* Sieger Badge: zwischen Spiel und Verdächtigte Person */} - + {gameStarted && ( + + )} setHelpOpen(false)} /> -
- {sections.map((sec) => ( - - ))} -
+ {gameStarted && ( +
+ {sections.map((sec) => ( + + ))} +
+ )} {/* Host-only Winner Auswahl */} - + {gameStarted && ( + + )}