Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9f0fda9

Browse files
authored
Merge pull request #1335 from matrix-org/t3chguy/unbrick_internetless
Fix React crying on machines without internet due to return undefined
2 parents 737a258 + ec6867d commit 9f0fda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/elements/ManageIntegsButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default class ManageIntegsButton extends React.Component {
7575
}
7676

7777
render() {
78-
let integrationsButton;
78+
let integrationsButton = <div />;
7979
let integrationsError;
8080
if (this.scalarClient !== null) {
8181
if (this.state.showIntegrationsError && this.state.scalarError) {

0 commit comments

Comments
 (0)