Skip to content

Commit

Permalink
Update Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ProLoser authored Oct 22, 2024
1 parent 379eed4 commit 125fa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const newGame = (oldGame?: GameType) => ({
black: 0,
white: 0,
},
status: oldGame?.status || ''
status: oldGame?.status || null
} as GameType);

export function calculate(state: GameType, from: number | "white" | "black", to: number) {
Expand Down

0 comments on commit 125fa3b

Please sign in to comment.