diff options
Diffstat (limited to 'app/client/index.jsx')
| -rw-r--r-- | app/client/index.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/client/index.jsx b/app/client/index.jsx index d30c73f..a084306 100644 --- a/app/client/index.jsx +++ b/app/client/index.jsx @@ -7,15 +7,17 @@ import { store, history } from './store' import socket from './socket' import Header from './common/header.component' -import Live from './live' +import Dashboard from './dashboard/dashboard.component' +import LivePix2Pix from './pix2pix' const app = ( <Provider store={store}> <BrowserRouter> <div> + <Route path='/' component={Dashboard} /> + <Route path='/live/' component={LivePix2Pix} /> + <Route path='/dashboard/' component={Dashboard} /> <Header /> - <Route path='/' component={Live} /> - <Route path='/live/' component={Live} /> </div> </BrowserRouter> </Provider> |
