[add] Jhipster base
This commit is contained in:
17
front-end/src/main/webapp/app/modules/account/index.tsx
Normal file
17
front-end/src/main/webapp/app/modules/account/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user