dashboard -> home (#1194)

This commit is contained in:
Tom Moor
2020-02-26 21:10:20 -08:00
committed by GitHub
parent d06ec5ce0c
commit dac2d43f55
12 changed files with 21 additions and 20 deletions

View File

@ -43,8 +43,9 @@ export default function Routes() {
<SocketProvider>
<Layout>
<Switch>
<Route path="/dashboard/:tab" component={Dashboard} />
<Route path="/dashboard" component={Dashboard} />
<Redirect from="/dashboard" to="/home" />
<Route path="/home/:tab" component={Dashboard} />
<Route path="/home" component={Dashboard} />
<Route exact path="/starred" component={Starred} />
<Route exact path="/starred/:sort" component={Starred} />
<Route exact path="/drafts" component={Drafts} />