Skip to content

Commit

Permalink
fix: bids table showing old bids
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Dec 10, 2024
1 parent d358a8b commit 813fbed
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react'
import { useHistory } from 'react-router-dom'
import { ethers } from 'ethers'
import { Bid } from '@dcl/schemas'
import { Bid, ListingStatus } from '@dcl/schemas'
import { withAuthorizedAction } from 'decentraland-dapps/dist/containers'
import { AuthorizedAction } from 'decentraland-dapps/dist/containers/withAuthorizedAction/AuthorizationModal'
import { T, t } from 'decentraland-dapps/dist/modules/translation'
Expand Down Expand Up @@ -59,7 +59,8 @@ function BidsTableContent({ asset, isBidsOffchainEnabled, address, sortBy, isAcc
...(isNFT(asset) ? { tokenId: asset.tokenId } : { itemId: asset.itemId }),
sortBy,
limit: ROWS_PER_PAGE,
offset: (page - 1) * ROWS_PER_PAGE
offset: (page - 1) * ROWS_PER_PAGE,
status: ListingStatus.OPEN
})
.then(({ results, total }) => {
if (cancel) return
Expand Down

0 comments on commit 813fbed

Please sign in to comment.