((set, get) => ({
);
},
triggerPostGame: () => {
- const { isGameOver, getHasWon, expandBoard } = get();
+ const { getHasWon, expandBoard } = get();
if (getHasWon()) {
expandBoard();
}
diff --git a/src/Timer.tsx b/src/Timer.tsx
index 24b8d2e..573f8d5 100644
--- a/src/Timer.tsx
+++ b/src/Timer.tsx
@@ -70,7 +70,13 @@ const Timer = () => {
: game.isGameOver
? "😢"
: emoteByStage[game.stage] || "😐"}
- {game.getHasWon() && }
+ {game.stage > 1 && (
+
+ )}
{Math.max(
diff --git a/tsconfig.app.tsbuildinfo b/tsconfig.app.tsbuildinfo
index 5257aba..cdfb0ec 100644
--- a/tsconfig.app.tsbuildinfo
+++ b/tsconfig.app.tsbuildinfo
@@ -1 +1 @@
-{"root":["./src/App.tsx","./src/Button.tsx","./src/Game.ts","./src/GameContext.tsx","./src/GameState.ts","./src/Options.tsx","./src/Timer.tsx","./src/main.tsx","./src/vite-env.d.ts"],"version":"5.6.2"}
\ No newline at end of file
+{"root":["./src/App.tsx","./src/Button.tsx","./src/Game.ts","./src/GameState.ts","./src/Options.tsx","./src/Timer.tsx","./src/main.tsx","./src/vite-env.d.ts"],"version":"5.6.2"}
\ No newline at end of file