diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/store/stateDuck.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/store/stateDuck.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js b/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js index dd7ba0ca1e4..b2f0da3c31a 100644 --- a/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js +++ b/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js @@ -30,13 +30,13 @@ export const updateState = changes => ({ export default createValue( // should update - (state, action) => action.type === actions.UPDATE_STATE, + (state, action) => action.type === actions.UPDATE_STATE, // should reset - () => false, + () => false, // get next value - (state, action) => ({ ...state, ...action.changes }), + (state, action) => ({ ...state, ...action.changes }), // default value {} |