moved hiding components to the top level

This commit is contained in:
or-else
2023-03-14 15:54:22 -07:00
parent 2fb6a9bb0a
commit 8df3c34cf4
7 changed files with 118 additions and 124 deletions
+1 -3
View File
@@ -1305,9 +1305,7 @@ class MessagesView extends React.Component {
const {formatMessage} = this.props.intl;
let component;
if (this.props.hideSelf) {
component = null;
} else if (!this.state.topic) {
if (!this.state.topic) {
component = (
<LogoView
serverVersion={this.props.serverVersion}