Add explicit member access

pull/21833/head
J. Ryan Stinnett 2021-05-21 13:15:54 +01:00
parent 3b50808cb0
commit 44ecf62758
1 changed files with 4 additions and 4 deletions

View File

@ -689,7 +689,7 @@ export class SSOAuthEntry extends React.Component<ISSOAuthEntryProps, ISSOAuthEn
} }
} }
attemptFailed = () => { public attemptFailed = () => {
this.setState({ this.setState({
attemptFailed: true, attemptFailed: true,
}); });
@ -704,7 +704,7 @@ export class SSOAuthEntry extends React.Component<ISSOAuthEntryProps, ISSOAuthEn
} }
}; };
onStartAuthClick = () => { private onStartAuthClick = () => {
// Note: We don't use PlatformPeg's startSsoAuth functions because we almost // Note: We don't use PlatformPeg's startSsoAuth functions because we almost
// certainly will need to open the thing in a new tab to avoid losing application // certainly will need to open the thing in a new tab to avoid losing application
// context. // context.
@ -714,7 +714,7 @@ export class SSOAuthEntry extends React.Component<ISSOAuthEntryProps, ISSOAuthEn
this.props.onPhaseChange(SSOAuthEntry.PHASE_POSTAUTH); this.props.onPhaseChange(SSOAuthEntry.PHASE_POSTAUTH);
}; };
onConfirmClick = () => { private onConfirmClick = () => {
this.props.submitAuthDict({}); this.props.submitAuthDict({});
}; };
@ -792,7 +792,7 @@ export class FallbackAuthEntry extends React.Component<IAuthEntryProps> {
} }
} }
focus = () => { public focus = () => {
if (this.fallbackButton.current) { if (this.fallbackButton.current) {
this.fallbackButton.current.focus(); this.fallbackButton.current.focus();
} }