Created
September 17, 2018 13:33
-
-
Save beatlecz/eae775000a8543dd39feb6f3ce2f3910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SOME_ACITON]: (state, {index, name}) => { | |
return state | |
.mergeIn(['orders', action.index], { name: name }) | |
.mergeIn(['orders', action.index, 'buttonState'], { status: 'SomeStatus' }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment