Merge pull request #323 from meetzaveri/patch-1

Update redux.md
This commit is contained in:
Rico Sta. Cruz 2017-12-22 23:43:38 +08:00 committed by GitHub
commit 94346b0abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export default connect(mapState, mapDispatch)(App)
export default connect(
(state) => ({
message: state.message
})
}),
(dispatch) => ({
onMessageClick: (message) => {
dispatch({ type: 'click', message })