Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Fix typo in batching scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkcz committed Apr 6, 2020
1 parent 6cd9d64 commit 72c011d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion batchingForReactDom.js
@@ -1,2 +1,2 @@
const ReactDOM = require("react-dom")
require("./dist").optimizeScheduler(ReactDOM.unstable_batchedUpdates)
require("./dist").observerBatching(ReactDOM.unstable_batchedUpdates)
2 changes: 1 addition & 1 deletion batchingForReactNative.js
@@ -1,2 +1,2 @@
const ReactNative = require("react-native")
require("./dist").optimizeScheduler(ReactNative.unstable_batchedUpdates)
require("./dist").observerBatching(ReactNative.unstable_batchedUpdates)

0 comments on commit 72c011d

Please sign in to comment.