From e892898dfe1a21a6f68f8bad0c1da82b2c2bdb1d Mon Sep 17 00:00:00 2001 From: Muhaimin CS Date: Sat, 22 Sep 2018 20:14:40 +0800 Subject: [PATCH] Update with-redux-code-splitting example (patch) (#5252) --- examples/with-redux-code-splitting/containers/about.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-redux-code-splitting/containers/about.js b/examples/with-redux-code-splitting/containers/about.js index 5813b640..3d174cf0 100644 --- a/examples/with-redux-code-splitting/containers/about.js +++ b/examples/with-redux-code-splitting/containers/about.js @@ -8,7 +8,7 @@ const DEFAULT_STATE = {version: 1} 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} })