mirror of https://github.com/vector-im/riot-web
Fix React crying on machines without internet due to return undefined
parent
737a258944
commit
ec6867dc8b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue