summaryrefslogtreecommitdiff
path: root/frontend/src/redux/currentGame.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/redux/currentGame.ts')
-rw-r--r--frontend/src/redux/currentGame.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/redux/currentGame.ts b/frontend/src/redux/currentGame.ts
index 76006677..5e015d60 100644
--- a/frontend/src/redux/currentGame.ts
+++ b/frontend/src/redux/currentGame.ts
@@ -9,6 +9,11 @@ export type CurrentGameState = {
table: ApiTable | null;
}
+export const EMPTY_CURRENT_GAME: CurrentGameState = {
+ turnInfo: null,
+ table: null,
+};
+
export function createCurrentGameReducer() {
return combineReducers({
turnInfo: turnInfoReducer,
bgstack15