Yet more small changes

This commit is contained in:
Liam 2022-10-10 18:43:37 +01:00
parent 3b4932ed79
commit 70466818e3

View File

@ -343,13 +343,15 @@ export default class Overlay extends Component {
websiteType={websiteType}
avatar={data.profilePicture || data.avatar}
/>
: ""
: <></>
}
{
this.state.showScore && this.state.isVisible ? <ScoreStats data={this.state} /> : ""
this.state.showScore && this.state.isVisible ?
<ScoreStats data={this.state} /> : <></>
}
{
this.state.showSongInfo && this.state.beatSaverData !== undefined && this.state.isVisible ? <SongInfo data={this.state}/> : ""
this.state.showSongInfo && this.state.beatSaverData !== undefined && this.state.isVisible ?
<SongInfo data={this.state}/> : <></>
}
</div>
}