mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
WIP: Steps
This commit is contained in:
+4
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user