From 28d6dd9a097be3f76ede22f63c6c68a78607aec8 Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Sat, 22 Sep 2018 14:43:35 +0200
Subject: move fetch functionality into fileviweer

---
 app/client/index.jsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'app/client/index.jsx')

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'))
-- 
cgit v1.2.3-70-g09d2

