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

View File

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