Skip to content

Commit 29da123

Browse files
committed
cb -> callback
1 parent 5f73381 commit 29da123

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fire-event.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ function isDiscreteEvent(type) {
5858
return discreteEvents.has(type)
5959
}
6060

61-
function noAct(cb) {
62-
// Don't alter semantics of `cb`.
63-
cb()
61+
function noAct(callback) {
62+
// Don't alter semantics of `callback`.
63+
callback()
6464
// But make sure updates are flushed before returning.
6565
act(() => {})
6666
}

0 commit comments

Comments
 (0)