Commit 9dba68b3 authored by Jack Short's avatar Jack Short Committed by GitHub

fix: changing buy now to add to bag (#5393)

parent 588567b9
......@@ -66,7 +66,7 @@ const formatListingStatus = (status: OrderStatus): string => {
case OrderStatus.EXPIRED:
return 'Expired'
case OrderStatus.VALID:
return 'Buy Now'
return 'Add to Bag'
}
}
......@@ -125,7 +125,7 @@ export const BuyCell = ({
disabled={event.orderStatus !== OrderStatus.VALID}
>
{event.orderStatus === OrderStatus.VALID ? (
<>{`${itemsInBag.length === 0 ? 'Buy Now' : isSelected ? 'Remove' : 'Add to bag'}`}</>
<>{`${isSelected ? 'Remove' : 'Add to bag'}`}</>
) : (
<>{`${formatListingStatus(event.orderStatus)}`}</>
)}
......
......@@ -383,7 +383,7 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps)
}}
>
<SubHeader color="white" lineHeight="20px">
<span>{assetInBag ? 'Remove' : 'Buy Now'}</span>
<span>{assetInBag ? 'Remove' : 'Add to Bag'}</span>
</SubHeader>
</BuyNowButton>
</BuyNowButtonContainer>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment