Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
types: adapt to changed authcallback type
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed May 20, 2022
1 parent 214e481 commit 665f8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/views/dialogs/DeactivateAccountDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class DeactivateAccountDialog extends React.Component<IProps, ISt
this.setState({ bodyText, continueText, continueKind });
};

private onUIAuthFinished = (success: boolean, result: Error) => {
private onUIAuthFinished = (success, result) => {
if (success) return; // great! makeRequest() will be called too.

if (result === ERROR_USER_CANCELLED) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/InteractiveAuthDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class InteractiveAuthDialog extends React.Component<IProps, IStat
};
}

private onAuthFinished = (success: boolean, result: Error): void => {
private onAuthFinished = (success, result): void => {
if (success) {
this.props.onFinished(true, result);
} else {
Expand Down

0 comments on commit 665f8b5

Please sign in to comment.