Skip to content

Commit c53b56b

Browse files
authored
feat(cleanup): remove unnecessary flush microtasks as already handled by act (#511)
1 parent c7ee0b4 commit c53b56b

File tree

2 files changed

+0
-53
lines changed

2 files changed

+0
-53
lines changed

src/cleanup.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import flushMicroTasks from './flush-microtasks'
2-
31
let cleanupCallbacks = []
42

53
async function cleanup() {
6-
await flushMicroTasks()
74
for (const callback of cleanupCallbacks) {
85
await callback()
96
}

src/flush-microtasks.js

-50
This file was deleted.

0 commit comments

Comments
 (0)