mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: last and next checking
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user