added email to final step

This commit is contained in:
Wyatt Johnson
2018-05-03 10:09:36 -06:00
parent 0caa82c1c4
commit 6485b1f080
6 changed files with 17 additions and 5 deletions
@@ -42,7 +42,7 @@ class DeleteMyAccountDialog extends React.Component {
render() {
const { step } = this.state;
const { scheduledDeletionDate } = this.props;
const { scheduledDeletionDate, organizationContactEmail } = this.props;
return (
<Dialog open={this.props.showDialog} className={styles.dialog}>
@@ -81,6 +81,7 @@ class DeleteMyAccountDialog extends React.Component {
{step === 4 && (
<DeleteMyAccountFinalStep
scheduledDeletionDate={scheduledDeletionDate}
organizationContactEmail={organizationContactEmail}
finish={this.cancel}
/>
)}
@@ -94,6 +95,7 @@ DeleteMyAccountDialog.propTypes = {
closeDialog: PropTypes.func.isRequired,
requestAccountDeletion: PropTypes.func.isRequired,
scheduledDeletionDate: PropTypes.string,
organizationContactEmail: PropTypes.string.isRequired,
};
export default DeleteMyAccountDialog;