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 => { ...@@ -66,7 +66,7 @@ const formatListingStatus = (status: OrderStatus): string => {
case OrderStatus.EXPIRED: case OrderStatus.EXPIRED:
return 'Expired' return 'Expired'
case OrderStatus.VALID: case OrderStatus.VALID:
return 'Buy Now' return 'Add to Bag'
} }
} }
...@@ -125,7 +125,7 @@ export const BuyCell = ({ ...@@ -125,7 +125,7 @@ export const BuyCell = ({
disabled={event.orderStatus !== OrderStatus.VALID} disabled={event.orderStatus !== OrderStatus.VALID}
> >
{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)}`}</> <>{`${formatListingStatus(event.orderStatus)}`}</>
)} )}
......
...@@ -383,7 +383,7 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps) ...@@ -383,7 +383,7 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps)
}} }}
> >
<SubHeader color="white" lineHeight="20px"> <SubHeader color="white" lineHeight="20px">
<span>{assetInBag ? 'Remove' : 'Buy Now'}</span> <span>{assetInBag ? 'Remove' : 'Add to Bag'}</span>
</SubHeader> </SubHeader>
</BuyNowButton> </BuyNowButton>
</BuyNowButtonContainer> </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