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