From 36cf88aaf2ed6ef2ad1d889997420b679404d486 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 4 Dec 2017 23:23:56 +0000 Subject: [PATCH] Fix the main navigation link. --- src/App.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 0a4f00f..a11e0fb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { HashRouter } from 'react-router-dom'; +import { HashRouter, NavLink } from 'react-router-dom'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import { amber500, amber700, lightBlue500, darkBlack, white } from 'material-ui/styles/colors'; @@ -90,6 +90,7 @@ class App extends React.Component { render() { return ( +
- } href={routeResolver.getRoute('home')} /> + + } onClick={this.closeDrawer} /> + External Links } href={C.homePage} /> @@ -118,10 +124,9 @@ class App extends React.Component { - - - + +
); }