Skip to content

Commit 849f68e

Browse files
committed
fix
1 parent df76238 commit 849f68e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ const positionHistory = ref<string[]>([getPositionKey(board.value, currentTurn.v
249249
const halfmoveClock = ref<number>(0)
250250
const INITIAL_CLOCK_SECONDS = null
251251
const clockIncrementSeconds = ref(0)
252-
const whiteTimeSeconds = ref(INITIAL_CLOCK_SECONDS)
253-
const blackTimeSeconds = ref(INITIAL_CLOCK_SECONDS)
252+
const whiteTimeSeconds = ref<number | null>(INITIAL_CLOCK_SECONDS)
253+
const blackTimeSeconds = ref<number | null>(INITIAL_CLOCK_SECONDS)
254254
255255
const applyGameSetup = (config: GameSetupConfig) => {
256256
const parsedBoard = config.boardMode === 'custom' ? parseFenToBoard(config.fen) : createInitialBoard()

0 commit comments

Comments
 (0)