diff --git a/frontend/src/components/navigation/org.js b/frontend/src/components/navigation/org.js index 09754983..64dcad75 100644 --- a/frontend/src/components/navigation/org.js +++ b/frontend/src/components/navigation/org.js @@ -16,7 +16,7 @@ const { } = ReactRedux; const { - Link, + NavLink } = ReactRouter; const { @@ -110,7 +110,7 @@ const OrgNavigation = ({ return ( - + { ({ isActive, @@ -134,7 +134,7 @@ const OrgNavigation = ({ } - + ); }); diff --git a/frontend/src/components/section/index.js b/frontend/src/components/section/index.js index 9105f140..4d3a28fc 100644 --- a/frontend/src/components/section/index.js +++ b/frontend/src/components/section/index.js @@ -18,7 +18,7 @@ const { } = ReactIntl; const { - Link + NavLink } = ReactRouter; const { @@ -43,9 +43,9 @@ const Section = (props) => { const navLinks = links.map((link) => ( - + - + )); diff --git a/frontend/src/containers/app.js b/frontend/src/containers/app.js index 34b33f80..e73d615b 100644 --- a/frontend/src/containers/app.js +++ b/frontend/src/containers/app.js @@ -23,8 +23,8 @@ const { } = ReactRedux; const { - Miss, - Match + Switch, + Route } = ReactRouter; const { @@ -80,19 +80,18 @@ const App = connect()(React.createClass({ } })); -module.exports = (props) => { - return ( - -
- - -
- - -
-