Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Oops 2
Browse files Browse the repository at this point in the history
idris-lang.org, we need you.
  • Loading branch information
steida committed Sep 6, 2016
1 parent cd3d4e1 commit cfb03d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -52,7 +52,7 @@
"classnames": "^2.1.1",
"compression": "^1.4.0",
"copy-webpack-plugin": "^3.0.0",
"css-loader": "^0.24.0",
"css-loader": "^0.25.0",
"del": "^2.1.0",
"empty": "^0.10.1",
"eslint": "^3.2.2",
Expand Down
2 changes: 1 addition & 1 deletion src/browser/app/components/Link.js
Expand Up @@ -67,5 +67,5 @@ export default connect(state => ({
// TODO: Remove after update to RR4.
// - github.com/reactjs/react-router/pull/3430
// - github.com/taion/react-router-scroll/issues/28#issuecomment-244503918
pathname: state.routing.locationBeforeTransitions.pathname,
pathname: state.routing && state.routing.locationBeforeTransitions.pathname,
}))(Link);

0 comments on commit cfb03d6

Please sign in to comment.