diff options
Diffstat (limited to 'app/client/index.jsx')
| -rw-r--r-- | app/client/index.jsx | 7 |
1 files changed, 3 insertions, 4 deletions
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> |
