fix: last and next checking

This commit is contained in:
TrèsAbhi committed 2025-09-01 22:55:31 -05:00
1 parent f56c31fb48
commit 8b527f2333
6 files changed
+40 -27

No files matched your search

@@ -1,4 +1,4 @@
import { Guess } from "../stores/guessEphemeral";
import { Guess, GuessState } from "../stores/guessEphemeral";
import { SmartCanvas } from "./SmartCanvas";
import { Controls } from "./Tankopedia/HeroSection/components/TankSandbox/components/Control";
import { Lighting } from "./Tankopedia/HeroSection/components/TankSandbox/components/Lighting";
@@ -9,7 +9,7 @@ const CONTRAST = 2 ** 2;
export function GuessRenderer() {
const guessState = Guess.use((state) => state.guessState);
const isRevealed = guessState !== null;
const isRevealed = guessState !== GuessState.NotGuessed;
return (
<SmartCanvas