@ -4,7 +4,12 @@ import {
SQUARE_FINISHED
} from '../types/UserTypes';
function usr(state = {}, action) {
const initialUserState = {
lastGameTime: null,
lastGameScore: null
}
function usr(state = initialUserState, action) {
switch (action.type) {
case SQUARE_START:
case SQUARE_FINISHED: