Skip to content

Commit c280378

Browse files
committed
Remove unnecessary async keyword
1 parent a804411 commit c280378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export default async function asyncMap(arr, fn) {
1+
export default function asyncMap(arr, fn) {
22
return Promise.all(arr.map(fn));
33
}

0 commit comments

Comments
 (0)