Here in the code example given, you have use ownProps.filter, whereas it should be ownProps.params.filter