From 4109cb2c34237266ddb317894084d7730d6faca6 Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Mon, 17 Sep 2018 03:29:43 +0200
Subject: build

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

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

diff --git a/app/client/index.jsx b/app/client/index.jsx
index 0258a7a..a1efa58 100644
--- a/app/client/index.jsx
+++ b/app/client/index.jsx
@@ -23,16 +23,15 @@ const app = (
   <Provider store={store}>
     <Auth.Gate>
       <BrowserRouter>
-        <Switch>
+        <div>
           <Route exact path='/' component={Dashboard} />
           <Route exact path='/system/' component={System} />
           <Route exact path='/dashboard/' component={Dashboard} />
           <Route exact path='/logout/' component={Auth.Logout} />
           {module_list}
-          <Route component={() => <Redirect to="/" />} />
-        </Switch>
+          <Header />
+        </div>
       </BrowserRouter>
-      <Header />
       <AudioPlayer />
     </Auth.Gate>
   </Provider>
-- 
cgit v1.2.3-70-g09d2

