From 5fe63360364cd85b33ca797c0152f831cbbb0104 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 14 Mar 2021 12:41:17 -0400 Subject: fixed warnings from missing keys. change file orphans to Unfiled --- src/client/views/MainView.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/client/views/MainView.tsx') diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 1fbcd8fa4..585d68285 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -243,7 +243,7 @@ export class MainView extends React.Component { getContentsHeight = () => this._panelHeight; @computed get mainDocView() { - return { e.stopPropagation(); e.preventDefault(); }} + return
{ e.stopPropagation(); e.preventDefault(); }} style={{ minWidth: `calc(100% - ${this._flyoutWidth + this.menuPanelWidth() + this.propertiesWidth()}px)`, width: `calc(100% - ${this._flyoutWidth + this.menuPanelWidth() + this.propertiesWidth()}px)` }}> {!this.mainContainer ? (null) : this.mainDocView}
; @@ -329,10 +329,10 @@ export class MainView extends React.Component { @computed get flyout() { - return !this._flyoutWidth ?
+ return !this._flyoutWidth ?
{this.docButtons}
: -
+
+ return
{this.menuPanel} -
+
{this.flyout}
@@ -430,7 +430,7 @@ export class MainView extends React.Component { {this.dockingContent} -
+
{this.propertiesWidth() < 10 ? (null) : } -- cgit v1.2.3-70-g09d2