Migrate DeactivateAccountDialog to TypeScript

This commit is contained in:
Germain Souquet 2021-06-14 21:53:44 +01:00
parent e39baf3e23
commit cf822d4d4c
2 changed files with 35 additions and 23 deletions

View file

@ -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?