diff --git a/common/app/routes/Settings/components/Email-Settings.jsx b/common/app/routes/Settings/components/Email-Settings.jsx index 7544f15512..f1489cc1fc 100644 --- a/common/app/routes/Settings/components/Email-Settings.jsx +++ b/common/app/routes/Settings/components/Email-Settings.jsx @@ -13,29 +13,13 @@ import { } from 'react-bootstrap'; import TB from '../Toggle-Button'; -// import EmailForm from './EmailForm.jsx'; +import EmailForm from './EmailForm.jsx'; import { Link } from '../../../Router'; -import { FullWidthRow } from '../../../helperComponents'; +import { FullWidthRow, Spacer } from '../../../helperComponents'; import SectionHeader from './SectionHeader.jsx'; import { userSelector } from '../../../redux'; import { onRouteUpdateEmail, updateMyEmail, updateUserBackend } from '../redux'; -/** - Removed functionality until we can update auth0 at the same time - - - - - - - - - - - */ - const mapStateToProps = createSelector( userSelector, ({ @@ -117,8 +101,9 @@ class EmailSettings extends PureComponent { You do not have an email associated with this account.

- - + + + ); } @@ -139,8 +124,13 @@ class EmailSettings extends PureComponent { } - - + + + + diff --git a/common/app/routes/Settings/components/EmailForm.jsx b/common/app/routes/Settings/components/EmailForm.jsx index 4d795ba37c..4751589859 100644 --- a/common/app/routes/Settings/components/EmailForm.jsx +++ b/common/app/routes/Settings/components/EmailForm.jsx @@ -79,10 +79,20 @@ class EmailForm extends PureComponent { return (
+ + + Current Email + + +

+ { this.props.email } +

+ +
- Email + New Email @@ -111,7 +121,7 @@ class EmailForm extends PureComponent { - Confirm Email + Confirm New Email diff --git a/common/app/routes/Settings/components/SectionHeader.jsx b/common/app/routes/Settings/components/SectionHeader.jsx index ce9a97fbc0..ed92678f33 100644 --- a/common/app/routes/Settings/components/SectionHeader.jsx +++ b/common/app/routes/Settings/components/SectionHeader.jsx @@ -13,7 +13,7 @@ const propTypes = { function SectionHeader({ children }) { return ( -

{ children }

+

{ children }


);