Skip to content

Commit

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

0 comments on commit 74adab3

Please sign in to comment.