adjust routing to point toward new Tabs container

This commit is contained in:
Daniel Ternyak 2017-04-13 20:35:56 -05:00
parent 0a33708370
commit c2745c985e
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import {Route, Redirect, browserHistory, IndexRoute} from 'react-router'; import {Route, Redirect, browserHistory, IndexRoute} from 'react-router';
import {useBasename} from 'history' import {useBasename} from 'history'
import {App, Dashboard} from 'containers'; import {App, Tabs} from 'containers';
export const history = getHistory() export const history = getHistory()
@ -14,7 +14,7 @@ export const Routing = (AuthCheck) => (
{/*<IndexRoute name="Login" component={Login}/>*/} {/*<IndexRoute name="Login" component={Login}/>*/}
{/*<Route name="Login" path="/auth" component={Login}/>*/} {/*<Route name="Login" path="/auth" component={Login}/>*/}
{/*<Route name="Inbox" path="/inbox" component={Inbox}/>*/} {/*<Route name="Inbox" path="/inbox" component={Inbox}/>*/}
<Route name="Dashboard" path="/" component={Dashboard}/> <Route name="Tabs" path="/" component={Tabs}/>
<Redirect from="/*" to="/"/> <Redirect from="/*" to="/"/>
</Route> </Route>
) )