fix: remove unnecessary delay in file upload process
This commit is contained in:
parent
7174556e73
commit
80a9b8a34d
1 changed files with 0 additions and 1 deletions
|
|
@ -123,7 +123,6 @@ async function uploadFiles(
|
||||||
abortControllers.set(file, abortController)
|
abortControllers.set(file, abortController)
|
||||||
options.onUploadStart?.(file, () => abortController.abort())
|
options.onUploadStart?.(file, () => abortController.abort())
|
||||||
})
|
})
|
||||||
await new Promise((resolve) => setTimeout(resolve, 10000))
|
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
const name = file.name
|
const name = file.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue