Skip to content

Commit

Permalink
fix: fix the update button color for legacies (decentraland#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored Jul 26, 2023
1 parent 79bda3b commit 2cc52cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/src/components/AssetPage/BuyNFTBox/BuyNFTBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ const BuyNFTBox = ({ nft, address, order, wallet }: Props) => {
<Button
as={Link}
to={locations.sell(nft.contractAddress, nft.tokenId)}
primary
fluid
{...(isLegacyOrder(order)
? { inverted: true }
: { primary: true })}
>
{isLegacyOrder(order)
? t('asset_page.actions.update_listing')
Expand Down

0 comments on commit 2cc52cb

Please sign in to comment.