Skip to content

Commit

Permalink
fix: fetch open listings on buy nft box (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobarreto authored Jun 1, 2023
1 parent e52d896 commit 91f93f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/src/components/AssetPage/BuyNFTBox/BuyNFTBox.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react'
import { Link } from 'react-router-dom'
import { t } from 'decentraland-dapps/dist/modules/translation/utils'
import { Order, OrderFilters, OrderSortBy } from '@dcl/schemas'
import { ListingStatus, Order, OrderFilters, OrderSortBy } from '@dcl/schemas'
import { Button, Loader } from 'decentraland-ui'
import Mana from '../../Mana/Mana'
import { formatDistanceToNow } from '../../../lib/date'
Expand Down Expand Up @@ -57,7 +57,8 @@ const BuyNFTBox = ({ nft, address }: Props) => {
contractAddress: nft.contractAddress,
first: 1,
skip: 0,
tokenId: nft.tokenId
tokenId: nft.tokenId,
status: ListingStatus.OPEN
}

orderAPI
Expand Down

0 comments on commit 91f93f6

Please sign in to comment.