Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit c02f952

Browse files
committed
chore: update code format
1 parent 79dbdb0 commit c02f952

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/useBiDirectional.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ export function useBiDirectional<P extends Partial<VirtualizedListProps<any> & E
8989
if (res instanceof Promise) {
9090
res.then(() => p.resolve());
9191
} else {
92-
setTimeout(() => {
93-
p.resolve();
94-
}, DEFAULT_LAZY_FETCH_MS);
92+
setTimeout(() => p.resolve(), DEFAULT_LAZY_FETCH_MS);
9593
}
9694

9795
return p.promise;

0 commit comments

Comments
 (0)