Add basename prop to router for relative path to MasterApp

This commit is contained in:
Barry Low committed 2018-10-10 21:16:56 -07:00
1 parent 9f09f33b8c
commit 1bf7844f51
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ export const auth = new Auth(
class App extends Component {
render () {
return (
<BrowserRouter>
<BrowserRouter basename={window.location.pathname}>
<MuiThemeProvider theme={theme}>
<CssBaseline />
<div className='App'>