fix: changing buy now to add to bag (#5393)
This commit is contained in:
parent
588567b900
commit
9dba68b34c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user