Merge pull request #1335 from matrix-org/t3chguy/unbrick_internetless

Fix React crying on machines without internet due to return undefined
pull/21833/head
David Baker 2017-08-24 13:23:15 +01:00 committed by GitHub
commit 9f0fda9d44
1 changed files with 1 additions and 1 deletions

View File

@ -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) {