2019-06-22 22:23:02 +00:00
|
|
|
import * as React from 'react';
|
2019-06-23 01:09:42 +00:00
|
|
|
import { Route, RouteComponentProps } from 'react-router-dom';
|
2019-06-23 01:53:50 +00:00
|
|
|
import DesignElementsContainer from '@/components/account/DesignElementsContainer';
|
|
|
|
import AccountOverviewContainer from '@/components/account/AccountOverviewContainer';
|
2019-06-22 22:23:02 +00:00
|
|
|
|
2019-06-23 01:09:42 +00:00
|
|
|
export default ({ match }: RouteComponentProps) => (
|
|
|
|
<div>
|
2019-06-23 01:53:50 +00:00
|
|
|
<Route path={`${match.path}/`} component={AccountOverviewContainer} exact/>
|
|
|
|
<Route path={`${match.path}/design`} component={DesignElementsContainer} exact/>
|
2019-06-23 01:09:42 +00:00
|
|
|
</div>
|
2019-06-23 00:45:32 +00:00
|
|
|
);
|