Skip to content

Commit f7b8e5d

Browse files
author
Kent C. Dodds
authored
Update act-compat.js
1 parent fcc5b0a commit f7b8e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/act-compat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function asyncAct(cb) {
4242
) {
4343
// no-op
4444
} else {
45-
originalConsoleError.call(console, ...args)
45+
originalConsoleError.apply(console, args)
4646
}
4747
}
4848
let cbReturn, result

0 commit comments

Comments
 (0)