mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
5276734535
commit
2c0ff4b925
|
@ -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('bumpVersion', function(state, increment) {
|
const bumpVersion = actionCreator('bumpVersion', function (state, increment) {
|
||||||
return {...state, version: state.version + increment}
|
return {...state, version: state.version + increment}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue