oops, fix leaderboard button being hidden
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-01 19:18:52 +01:00
parent 162424b2d0
commit df7166a246

@ -74,7 +74,7 @@ export default function ScoreButtons({
<YouTubeLogo /> <YouTubeLogo />
</ScoreButton> </ScoreButton>
</div> </div>
{isLeaderboardExpanded && setIsLeaderboardExpanded && ( {isLeaderboardExpanded != undefined && setIsLeaderboardExpanded != undefined && (
<LeaderboardButton <LeaderboardButton
isLeaderboardExpanded={isLeaderboardExpanded} isLeaderboardExpanded={isLeaderboardExpanded}
setIsLeaderboardExpanded={setIsLeaderboardExpanded} setIsLeaderboardExpanded={setIsLeaderboardExpanded}