From 6423467e08c28e3152b5285ff33f29c5f9aa59fd Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 29 Jun 2021 23:48:04 +0530 Subject: [PATCH] Fixes share button failing to load intermittently (#356) --- frontend/src/Editor/Editor.jsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index d59596cc40..129cacfc97 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -52,6 +52,7 @@ class Editor extends React.Component { this.state = { currentUser: authenticationService.currentUserValue, + app: {}, allComponentTypes: componentTypes, queryPaneHeight: '30%', isLoading: true, @@ -571,7 +572,7 @@ class Editor extends React.Component {
- {app + {app.id &&
- {this.state.app && ( - )}