Fixed typo (#13519)
Ivan committed
Aug 31, 2018 at 01:33 UTC
a3e4d00089571b66c151b9ac1bd9c589d03b2f27
2 files changed
+2
-2
packages/react-dom/src/client/ReactDOM.js
+1
-1
@@ -139,7 +139,7 @@ type Batch = FiberRootBatch & {
139
then(onComplete: () => mixed): void,
140
commit(): void,
141
142
- // The ReactRoot constuctor is hoisted but the prototype methods are not. If
142
+ // The ReactRoot constructor is hoisted but the prototype methods are not. If
143
// we move ReactRoot to be above ReactBatch, the inverse error occurs.
144
// $FlowFixMe Hoisting issue.
145
_root: Root,
scripts/bench/build.js
+1
-1
@@ -73,7 +73,7 @@ async function buildBenchmarkBundlesFromGitRepo(
73
//clear remote-repo folder
74
await cleanDir(remoteRepoDir);
75
}
76
- // check if remote-repo diretory already exists
76
+ // check if remote-repo directory already exists
77
if (existsSync(join(__dirname, 'remote-repo'))) {
78
repo = await Git.Repository.open(remoteRepoDir);
79
// fetch all the latest remote changes