From 182fbd63785785e9ec1f99f2d54ac3c061d16282 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Sat, 6 Aug 2022 17:37:19 -0500 Subject: [PATCH] default username --- squarenotsquare/src/redux/reducers/UserReducer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/squarenotsquare/src/redux/reducers/UserReducer.js b/squarenotsquare/src/redux/reducers/UserReducer.js index 4b40b7a..ae2d033 100644 --- a/squarenotsquare/src/redux/reducers/UserReducer.js +++ b/squarenotsquare/src/redux/reducers/UserReducer.js @@ -7,7 +7,8 @@ import { const initialUserState = { lastGameTime: null, lastGameAnswers: null, - lastGameScore: null + lastGameScore: null, + username: 'noname' } function usr(state = initialUserState, action) {