18 lines
547 B
TypeScript
18 lines
547 B
TypeScript
import React from 'react';
|
|
|
|
import ErrorBoundaryRoute from 'app/shared/error/error-boundary-route';
|
|
|
|
import Settings from './settings/settings';
|
|
import Password from './password/password';
|
|
import Sessions from './sessions/sessions';
|
|
|
|
const Routes = ({ match }) => (
|
|
<div>
|
|
<ErrorBoundaryRoute path={`${match.url}/settings`} component={Settings} />
|
|
<ErrorBoundaryRoute path={`${match.url}/password`} component={Password} />
|
|
<ErrorBoundaryRoute path={`${match.url}/sessions`} component={Sessions} />
|
|
</div>
|
|
);
|
|
|
|
export default Routes;
|