Skip to content

Commit

Permalink
fix: array creation
Browse files Browse the repository at this point in the history
  • Loading branch information
eole1712 committed Sep 28, 2021
1 parent 33c73de commit db8c718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/altair-app/src/app/modules/altair/utils/index.ts
Expand Up @@ -67,7 +67,7 @@ export const getFileStr = (files: FileList) => {

export const getFilesStr = (files: FileList) => {
return Promise.all(
Array(files.length).map(
Array.from(Array(files.length).keys()).map(
(_, index) =>
new Promise<string>((resolve, reject) => {
const fileReader = new FileReader();
Expand Down

0 comments on commit db8c718

Please sign in to comment.