mirror of https://github.com/vector-im/riot-web
Merge pull request #1335 from matrix-org/t3chguy/unbrick_internetless
Fix React crying on machines without internet due to return undefinedpull/21833/head
commit
9f0fda9d44
|
@ -75,7 +75,7 @@ export default class ManageIntegsButton extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
let integrationsButton;
|
||||
let integrationsButton = <div />;
|
||||
let integrationsError;
|
||||
if (this.scalarClient !== null) {
|
||||
if (this.state.showIntegrationsError && this.state.scalarError) {
|
||||
|
|
Loading…
Reference in New Issue