WIP: Steps

This commit is contained in:
okbel
2018-04-30 16:20:09 -03:00
parent 1574dabd69
commit 35e8c005f3
4 changed files with 77 additions and 48 deletions
@@ -18,7 +18,8 @@ class ChangeEmailContentDialog extends React.Component {
};
confirmChanges = async () => {
await this.props.saveChanges();
await this.props.save();
this.props.next();
};
render() {
@@ -77,7 +78,8 @@ class ChangeEmailContentDialog extends React.Component {
}
ChangeEmailContentDialog.propTypes = {
saveChanges: PropTypes.func,
save: PropTypes.func,
next: PropTypes.func,
cancel: PropTypes.func,
onChange: PropTypes.func,
formData: PropTypes.object,