diff --git a/lib/gui/app/pages/main/MainPage.tsx b/lib/gui/app/pages/main/MainPage.tsx index c83006d3..d4577175 100644 --- a/lib/gui/app/pages/main/MainPage.tsx +++ b/lib/gui/app/pages/main/MainPage.tsx @@ -242,82 +242,72 @@ export class MainPage extends React.Component< justifyContent="space-between" > {notFlashingOrSplitView && ( - - this.setState({ source }) - } - /> - )} - - {notFlashingOrSplitView && ( - - - - )} - - {notFlashingOrSplitView && ( - - )} - - {notFlashingOrSplitView && ( - - - - )} - - {this.state.isFlashing && ( <> - + this.setState({ source }) + } + /> + + + + + + + + + )} + + {this.state.isFlashing && this.state.isWebviewShowing && ( + + - - - {this.state.featuredProjectURL && ( - { - this.setState({ isWebviewShowing }); - }} - style={{ - position: 'absolute', - right: 0, - bottom: 0, - width: '63.8vw', - height: '100vh', - }} - /> - )} - + /> + + )} + {this.state.isFlashing && this.state.featuredProjectURL && ( + { + this.setState({ isWebviewShowing }); + }} + style={{ + position: 'absolute', + right: 0, + bottom: 0, + width: '63.8vw', + height: '100vh', + }} + /> )}