mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
fix: remove async from Promise.all
This commit is contained in:
parent
f64b49d50a
commit
859a2def47
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export const useUpload = () => {
|
|||
}
|
||||
|
||||
const fileEntries = await getAllFileEntries(event.dataTransfer.items)
|
||||
const files = await Promise.all(fileEntries.map(async entry => await fileEntryToFile(entry)))
|
||||
const files = await Promise.all(fileEntries.map(entry => fileEntryToFile(entry)))
|
||||
const queuedFiles = queueFilesForUpload(files)
|
||||
|
||||
if (queuedFiles.length) {
|
||||
|
|
Loading…
Reference in a new issue