Set the current page in the dashboard URL to allow easy refreshing; closes #2993
This commit is contained in:
parent
7676f7dd66
commit
29b4b52397
3 changed files with 35 additions and 7 deletions
|
@ -21,10 +21,18 @@ export default ({ location }: RouteComponentProps) => (
|
|||
}
|
||||
<TransitionRouter>
|
||||
<Switch location={location}>
|
||||
<Route path={'/'} component={DashboardContainer} exact/>
|
||||
<Route path={'/account'} component={AccountOverviewContainer} exact/>
|
||||
<Route path={'/account/api'} component={AccountApiContainer} exact/>
|
||||
<Route path={'*'} component={NotFound}/>
|
||||
<Route path={'/'} exact>
|
||||
<DashboardContainer/>
|
||||
</Route>
|
||||
<Route path={'/account'} exact>
|
||||
<AccountOverviewContainer/>
|
||||
</Route>
|
||||
<Route path={'/account/api'} exact>
|
||||
<AccountApiContainer/>
|
||||
</Route>
|
||||
<Route path={'*'}>
|
||||
<NotFound/>
|
||||
</Route>
|
||||
</Switch>
|
||||
</TransitionRouter>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue