diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-17 03:29:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-17 03:29:43 +0200 |
| commit | 4109cb2c34237266ddb317894084d7730d6faca6 (patch) | |
| tree | 53d3771006fb558ac60463eb3ac956badaa8411e /app/client/index.jsx | |
| parent | 0a221464241ccda47e0dd52ba309ccf9dead0f96 (diff) | |
build
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> |
