diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-22 14:43:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-22 14:43:35 +0200 |
| commit | 28d6dd9a097be3f76ede22f63c6c68a78607aec8 (patch) | |
| tree | e089c8d43ecfe944427e61e258c39a177cfc9b1f /app/client/index.jsx | |
| parent | 112b15b5918296f159af79e1f6db96beac7aa14d (diff) | |
move fetch functionality into fileviweer
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')) |
