Skip to content

Commit

Permalink
format ListContainer file
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizzz committed Oct 21, 2017
1 parent d0dbbbb commit d0e5a42
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/frontend/js/components/pages/list/ListContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ const mapStateToProps = (state, ownProps) => {
}
}

const mapDispatchToProps = (dispatch) => {
return {
loadShopItems: (category) => { dispatch(actionCreators.loadShopItems(category)) }
}
}
const mapDispatchToProps = (dispatch) => ({
loadShopItems: (category) => { dispatch(actionCreators.loadShopItems(category)) }
})

const ListContainer = connect(mapStateToProps, mapDispatchToProps)(List)

export default ListContainer

0 comments on commit d0e5a42

Please sign in to comment.