mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
move game state and head interfaces into shared file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { IGameState } from "#/reducers/gameReducer.ts";
|
||||
import type { IGameState } from "#/interfaces.ts";
|
||||
|
||||
export const getHeaders = (pgn: string) => {
|
||||
const pgnHeader = pgn.split(/\n\n/g)[0];
|
||||
|
||||
Reference in New Issue
Block a user