Commit 0ed0278a authored by Martin Fahl's avatar Martin Fahl

fixes null reference

parent ad32ba48
......@@ -11,8 +11,15 @@ class InventoryListContainer extends Component {
}
}
const getItemsFilteredByTerm = ((state) => {
/* TODO filter items depending on state.filterTerm */
return state.items;
}
)
const mapStateToProps = state => ({
/* TODO map items */
items: getItemsFilteredByTerm(state)
})
const mapDispatchToProps = dispatch => ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment