1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Update with-redux-code-splitting example (patch) (#5252)

This commit is contained in:
Muhaimin CS 2018-09-22 20:14:40 +08:00 committed by Tim Neutkens
parent b68b705446
commit e892898dfe

View file

@ -8,7 +8,7 @@ const DEFAULT_STATE = {version: 1}
const {actionCreator, getState: getAboutState} = namespaceConfig('about', DEFAULT_STATE) const {actionCreator, getState: getAboutState} = namespaceConfig('about', DEFAULT_STATE)
const bumpVersion = actionCreator(function bumpVersion (state, increment) { const bumpVersion = actionCreator('bumpVersion', function(state, increment) {
return {...state, version: state.version + increment} return {...state, version: state.version + increment}
}) })