mirror of
https://github.com/element-hq/element-web
synced 2024-10-26 04:35:55 +03:00
Fix React crying on machines without internet due to return undefined
This commit is contained in:
parent
737a258944
commit
ec6867dc8b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue