Browse Source

add mobile version for balance dashboard

main
matthew 2 years ago
parent
commit
3493cfbf56
  1. 4
      searching-front/services/domain-watcher.ts

4
searching-front/services/domain-watcher.ts

@ -47,12 +47,12 @@ const upsertDmn = async (
})
}
const wait = (time: number) => new Promise((resolve) => setTimeout(() => resolve(true), time))
const wait = (time: number) => new Promise((resolve) => setTimeout(() => resolve(true), time * 1000))
const searchNFTItems = async ({ limit, offset }: SearchNFTItemsParams) => {
try {
console.log(`Start search limit:${limit}, offset:${offset}`)
await wait(1000)
await wait(1)
const { data } = await axios.get(
`https://tonapi.io/v1/nft/searchItems?collection=EQC3dNlesgVD8YbAazcauIrXBPfiVhMMr5YYk2in0Mtsz0Bz&include_on_sale=false&limit=${limit}&offset=${offset}`,
{

Loading…
Cancel
Save