Update redux.md

There was missing ',' literal between two parameters of `connect()` in shorthand
This commit is contained in:
Meet Zaveri 2017-12-14 11:43:25 +05:30 committed by GitHub
parent ac5e2d7fde
commit e4d93f378d
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 })