diff options
| author | Jules <jules@asdf.us> | 2018-09-22 10:47:50 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2018-09-22 10:47:50 -0400 |
| commit | 7e39114e27520e382f26368ae8f4d08ae7f3071b (patch) | |
| tree | 01e7f210b0c3a119622e92d56d01f5c7951ad631 /app/client/index.jsx | |
| parent | 46889933fd9c36c527014410823e88a7d838d239 (diff) | |
| parent | 8d1c19852fcce52e369978dfc195d5da4f12180a (diff) | |
merge
Diffstat (limited to 'app/client/index.jsx')
| -rw-r--r-- | app/client/index.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/client/index.jsx b/app/client/index.jsx index cda528c..4e0c38d 100644 --- a/app/client/index.jsx +++ b/app/client/index.jsx @@ -30,13 +30,10 @@ const app = ( <Auth.Gate> <BrowserRouter> <div className='everybody'> - <Route path='/' children={(props) => <div>{console.log(props.location.pathname)}</div>} /> <Route exact path='/system' component={System} /> <Route exact path='/dashboard' component={Dashboard} /> <Route exact path='/browse' component={Browser} /> <Route exact path='/logout' component={Auth.Logout} /> - <Route exact path='/login' component={() => { <Redirect to='/' /> }} /> - <Route exact path='/signup' component={() => { <Redirect to='/' /> }} /> {module_list} <Route exact path='/' component={Dashboard} /> <Route path='/' component={Header} /> @@ -46,5 +43,9 @@ const app = ( </Auth.Gate> </Provider> ) +/* + <Route exact path='/login' component={() => { <Redirect to='/' /> }} /> + <Route exact path='/signup' component={() => { <Redirect to='/' /> }} /> +*/ render(app, document.getElementById('container')) |
