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 ( return (
<main> <main>
<div> <div>
<PlayerStats player={player} /> {this.state.settings.settings.showPlayerStats && (
<ScoreStats /> <PlayerStats player={player} />
</div> )}
<div className="absolute bottom-0 left-0"> {this.state.settings.settings.showScoreStats && <ScoreStats />}
<SongInfo />
</div> </div>
{this.state.settings.settings.showSongInfo && (
<div className="absolute bottom-0 left-0">
<SongInfo />
</div>
)}
</main> </main>
); );
} }