You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix React crying on machines without internet due to return undefined
This commit is contained in:
@@ -75,7 +75,7 @@ export default class ManageIntegsButton extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
let integrationsButton;
|
let integrationsButton = <div />;
|
||||||
let integrationsError;
|
let integrationsError;
|
||||||
if (this.scalarClient !== null) {
|
if (this.scalarClient !== null) {
|
||||||
if (this.state.showIntegrationsError && this.state.scalarError) {
|
if (this.state.showIntegrationsError && this.state.scalarError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user