This commit is contained in:
Maciej Caderek
2022-02-19 04:53:42 +01:00
parent db7ba81b99
commit 0d3d7f6143
44 changed files with 228 additions and 12 deletions

View File

@@ -40,6 +40,7 @@ export type State = {
ply: number;
mobile: boolean;
activeTab: "game" | "load";
playing: boolean;
};
const initialState: State = {
@@ -56,6 +57,7 @@ const initialState: State = {
ply: 0,
mobile,
activeTab: "load",
playing: false,
};
const [state, setState] = createStore(initialState);