fix settings not working
Some checks failed
deploy / deploy (push) Failing after 5s

This commit is contained in:
Lee 2023-11-05 20:58:54 +00:00
parent 1792648e8d
commit 666584e022

@ -107,12 +107,16 @@ export default class Overlay extends Component<OverlayProps, OverlayState> {
return (
<main>
<div>
<PlayerStats player={player} />
<ScoreStats />
</div>
<div className="absolute bottom-0 left-0">
<SongInfo />
{this.state.settings.settings.showPlayerStats && (
<PlayerStats player={player} />
)}
{this.state.settings.settings.showScoreStats && <ScoreStats />}
</div>
{this.state.settings.settings.showSongInfo && (
<div className="absolute bottom-0 left-0">
<SongInfo />
</div>
)}
</main>
);
}