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
@@ -5,7 +5,7 @@ import { awaitableProvisionDefinitions } from "../../core/awaitables/provisionDe
|
||||
import { tankToDuelMember } from "../../core/blitzkit/tankToDuelMember";
|
||||
import { Var } from "../../core/radix/var";
|
||||
import { Duel } from "../../stores/duel";
|
||||
import { Guess } from "../../stores/guessEphemeral";
|
||||
import { Guess, GuessState } from "../../stores/guessEphemeral";
|
||||
import { TankopediaEphemeral } from "../../stores/tankopediaEphemeral";
|
||||
import "./index.css";
|
||||
|
||||
@@ -39,9 +39,9 @@ export function GuessBackground() {
|
||||
style={{
|
||||
transitionDuration: "2s",
|
||||
backgroundColor: Var(
|
||||
guessState === null
|
||||
guessState === GuessState.NotGuessed
|
||||
? "accent-2"
|
||||
: guessState
|
||||
: guessState === GuessState.Correct
|
||||
? "jade-3"
|
||||
: "tomato-3"
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user