Skip to content

Commit

Permalink
react-router fix
Browse files Browse the repository at this point in the history
[this issue](remix-run/react-router#3536)
is fixed with react-router v3.0.0
  • Loading branch information
mertkahyaoglu committed Dec 24, 2016
1 parent 2264f0a commit c9d2be0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/containers/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,4 @@ function mapDispatchToProps(dispatch) {
}, dispatch);
}

export default connect(
mapStateToProps,
mapDispatchToProps,
null,
{pure:false})(Sidebar); // fix this when react-router 3.0.0
export default connect(mapStateToProps,mapDispatchToProps)(Sidebar);

0 comments on commit c9d2be0

Please sign in to comment.