Updating the cache with data from the fragment

This commit is contained in:
okbel
2018-05-02 16:46:20 -03:00
parent c1492d1065
commit c7db780582
5 changed files with 33 additions and 12 deletions
@@ -37,7 +37,7 @@ class ChangeEmailContentDialog extends React.Component {
<div className={styles.emailChange}>
<span className={styles.item}>
{t('talk-plugin-local-auth.change_email.old_email')}:{' '}
{this.props.emailAddress}
{this.props.email}
</span>
<span className={styles.item}>
{t('talk-plugin-local-auth.change_email.new_email')}:{' '}
@@ -86,7 +86,7 @@ ChangeEmailContentDialog.propTypes = {
cancel: PropTypes.func,
onChange: PropTypes.func,
formData: PropTypes.object,
emailAddress: PropTypes.string,
email: PropTypes.string,
};
export default ChangeEmailContentDialog;