Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
YoctoProductions committed Dec 27, 2024
1 parent 681f171 commit 6022037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/ui/modals/ShopModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ const ShopModal: React.FC<ShopModalProps> = ({ account }) => {
)
}
</h4>
account?.isLoggedIn && (skin.buyable || account.skins.owned.includes(skin.id)) && (
{(account?.isLoggedIn && (skin.buyable || account.skins.owned.includes(skin.id)) && (
<button className='buy-button' onClick={() => handleActionClick(skin.id)}>
{skinStatus[skin.id] || (account.skins.equipped === skin.id ? 'Equipped' :
account.skins.owned.includes(skin.id) ? 'Equip' : skin.ultimate ? 'Unlock' : 'Buy')}
</button>
)
))}
</div>
)
}
Expand Down

0 comments on commit 6022037

Please sign in to comment.