From 22999bb6dc03221dc110da8bba9ce4483ba5de07 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Sat, 6 Aug 2022 14:32:47 -0500 Subject: [PATCH] syntax --- squarenotsquare/src/redux/actions/SystemActions.js | 2 +- squarenotsquare/src/redux/reducers/UserReducer.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/squarenotsquare/src/redux/actions/SystemActions.js b/squarenotsquare/src/redux/actions/SystemActions.js index 557ba64..4cc5387 100644 --- a/squarenotsquare/src/redux/actions/SystemActions.js +++ b/squarenotsquare/src/redux/actions/SystemActions.js @@ -23,7 +23,7 @@ export function goToScores() { return (dispatch) => { squareNav('HighScores'); dispatch({ - NAV_SCORES + type: NAV_SCORES }) } } diff --git a/squarenotsquare/src/redux/reducers/UserReducer.js b/squarenotsquare/src/redux/reducers/UserReducer.js index 4346c1a..4b40b7a 100644 --- a/squarenotsquare/src/redux/reducers/UserReducer.js +++ b/squarenotsquare/src/redux/reducers/UserReducer.js @@ -6,6 +6,7 @@ import { const initialUserState = { lastGameTime: null, + lastGameAnswers: null, lastGameScore: null }