mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Account settings: SecurityPage
This commit is contained in:
parent
7b5c012b8b
commit
678ed13057
3 changed files with 17 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ import {
|
|||
EditProfilePage,
|
||||
SalesConversationPage,
|
||||
SearchPage,
|
||||
SecurityPage,
|
||||
NotFoundPage,
|
||||
} from './containers';
|
||||
|
||||
|
|
@ -161,9 +162,12 @@ class Routes extends React.Component {
|
|||
<MatchWhenAuthorized
|
||||
exactly
|
||||
pattern="/account/contact-details"
|
||||
component={
|
||||
(props) => <ContactDetailsPage { ...props } router={router} />
|
||||
} />
|
||||
component={ ContactDetailsPage } />
|
||||
<MatchWhenAuthorized
|
||||
exactly
|
||||
pattern="/account/security"
|
||||
component={ SecurityPage } />
|
||||
|
||||
|
||||
<Miss component={ NotFoundPage } />
|
||||
|
||||
|
|
|
|||
8
src/containers/SecurityPage/SecurityPage.js
Normal file
8
src/containers/SecurityPage/SecurityPage.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import React from 'react';
|
||||
import { Page } from '../../components';
|
||||
|
||||
export default () => (
|
||||
<Page title="Security" >
|
||||
<p>Change password, delete account</p>
|
||||
</Page>
|
||||
);
|
||||
|
|
@ -13,6 +13,7 @@ import PasswordForgottenPage from './PasswordForgottenPage/PasswordForgottenPage
|
|||
import ProfilePage from './ProfilePage/ProfilePage';
|
||||
import SalesConversationPage from './SalesConversationPage/SalesConversationPage';
|
||||
import SearchPage from './SearchPage/SearchPage';
|
||||
import SecurityPage from './SecurityPage/SecurityPage';
|
||||
import NotFoundPage from './NotFoundPage/NotFoundPage';
|
||||
|
||||
export {
|
||||
|
|
@ -31,5 +32,6 @@ export {
|
|||
ProfilePage,
|
||||
SalesConversationPage,
|
||||
SearchPage,
|
||||
SecurityPage,
|
||||
NotFoundPage,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue