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

Commit 665f8b5

Browse files
committed
types: adapt to changed authcallback type
1 parent 214e481 commit 665f8b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/views/dialogs/DeactivateAccountDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class DeactivateAccountDialog extends React.Component<IProps, ISt
104104
this.setState({ bodyText, continueText, continueKind });
105105
};
106106

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

110110
if (result === ERROR_USER_CANCELLED) {

src/components/views/dialogs/InteractiveAuthDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default class InteractiveAuthDialog extends React.Component<IProps, IStat
117117
};
118118
}
119119

120-
private onAuthFinished = (success: boolean, result: Error): void => {
120+
private onAuthFinished = (success, result): void => {
121121
if (success) {
122122
this.props.onFinished(true, result);
123123
} else {

0 commit comments

Comments
 (0)