Migrate DeactivateAccountDialog to TypeScript
This commit is contained in:
parent
e39baf3e23
commit
cf822d4d4c
2 changed files with 35 additions and 23 deletions
|
@ -269,7 +269,7 @@ export default class Registration extends React.Component<IProps, IState> {
|
|||
);
|
||||
}
|
||||
|
||||
private onUIAuthFinished = async (success, response, extra) => {
|
||||
private onUIAuthFinished = async (success, response) => {
|
||||
if (!success) {
|
||||
let msg = response.message || response.toString();
|
||||
// can we give a better error message?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue