mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
23 lines
702 B
JavaScript
23 lines
702 B
JavaScript
import React from 'react';
|
|
import cn from 'classnames';
|
|
import styles from './ConfirmChangesDialog.css';
|
|
import { Dialog } from 'plugin-api/beta/client/components/ui';
|
|
import ChangeUsernameContentDialog from './ChangeUsernameContentDialog';
|
|
import ChangeEmailContentDialog from './ChangeEmailContentDialog';
|
|
|
|
class ConfirmChangesDialog extends React.Component {
|
|
render() {
|
|
return (
|
|
<Dialog
|
|
open={this.props.showDialog}
|
|
className={cn(styles.dialog, 'talk-plugin-auth--edit-profile-dialog')}
|
|
>
|
|
<ChangeUsernameContentDialog {...this.props} />
|
|
<ChangeEmailContentDialog {...this.props} />
|
|
</Dialog>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default ConfirmChangesDialog;
|