This commit is contained in:
Maciej Caderek
2022-02-11 22:22:12 +01:00
parent d08080543d
commit db40aa2939
6 changed files with 51 additions and 7 deletions

View File

@@ -27,12 +27,16 @@ const gameConfig: GameConfig = {
export type State = {
board: BoardConfig;
game: GameConfig;
pgn: string | null;
fen: string | null;
moves: string[];
};
const initialState: State = {
board: boardConfig,
game: gameConfig,
pgn: null,
fen: null,
moves: [],
};