Skip to content

Commit

Permalink
fix(WhatsNewModal): Fix infinite loop of whats new modal
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoTN committed Nov 2, 2017
1 parent 5c49963 commit d30b5b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tfoosball",
"version": "2.2.0",
"version": "2.2.1",
"private": true,
"devDependencies": {
"autoprefixer": "6.5.1",
Expand Down
3 changes: 1 addition & 2 deletions src/shared/auth/auth.reducer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as types from './auth.types';
import {
REQUEST_SAVE_PROFILE, REQUEST_SAVE_MEMBER, SETTINGS_SAVED,
WHATS_NEW_SHOWN
} from '../../settings/settings.actions';

export const profile = (state = {}, action) => {
Expand All @@ -11,7 +10,7 @@ export const profile = (state = {}, action) => {
return Object.assign({}, state, action.partialData);
case SETTINGS_SAVED:
return Object.assign({}, state, action.values);
case WHATS_NEW_SHOWN:
case types.WHATS_NEW_SHOWN:
return Object.assign({}, state, {whats_new_version: action.version});
default:
return state;
Expand Down
1 change: 1 addition & 0 deletions src/shared/shared.sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function* whatsNewModal() {
• Fix new match bug on mobile
• Fix infinite authentication loop bug
• Fix match deletion permissions bug
• Fix what's new modal bug
`,
onAccept: () => {
},
Expand Down

0 comments on commit d30b5b8

Please sign in to comment.