You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-01 13:11:10 +03:00
Add explicit member access
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user