chore: enchance firecrawl user experience (#5958)
This commit is contained in:
parent
688b8fe114
commit
52e59cf4df
4 changed files with 5 additions and 3 deletions
|
|
@ -118,6 +118,7 @@ const FireCrawl: FC<Props> = ({
|
|||
...res,
|
||||
total: Math.min(res.total, parseFloat(crawlOptions.limit as string)),
|
||||
})
|
||||
onCheckedCrawlResultChange(res.data || []) // default select the crawl result
|
||||
await sleep(2500)
|
||||
return await waitForCrawlFinished(jobId)
|
||||
}
|
||||
|
|
@ -162,6 +163,7 @@ const FireCrawl: FC<Props> = ({
|
|||
}
|
||||
else {
|
||||
setCrawlResult(data)
|
||||
onCheckedCrawlResultChange(data.data || []) // default select the crawl result
|
||||
setCrawlErrorMessage('')
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue