mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
missed this
This commit is contained in:
parent
13ff52bb12
commit
0da9cb2e9d
@ -59,6 +59,8 @@ export const MarketplaceItemView: FC<MarketplaceItemViewProps> = props =>
|
|||||||
{
|
{
|
||||||
if(!offerData) return '';
|
if(!offerData) return '';
|
||||||
|
|
||||||
|
if(offerData.status === MarketPlaceOfferState.SOLD) return LocalizeText('catalog.marketplace.offer.sold');
|
||||||
|
|
||||||
if(offerData.timeLeftMinutes <= 0) return LocalizeText('catalog.marketplace.offer.expired');
|
if(offerData.timeLeftMinutes <= 0) return LocalizeText('catalog.marketplace.offer.expired');
|
||||||
|
|
||||||
const time = Math.max(1, offerData.timeLeftMinutes);
|
const time = Math.max(1, offerData.timeLeftMinutes);
|
||||||
|
Loading…
Reference in New Issue
Block a user