Typo fix in comment (#14787)

This commit is contained in:
Deniz Susman
2019-02-09 16:42:55 -08:00
committed by Sophie Alpert
parent 1d48b4a684
commit 3e295edd52
+3 -3
View File
@@ -593,7 +593,7 @@ function commitLifeCycles(
function hideOrUnhideAllChildren(finishedWork, isHidden) {
if (supportsMutation) {
// We only have the top Fiber that was inserted but we need recurse down its
// We only have the top Fiber that was inserted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = finishedWork;
while (true) {
@@ -945,7 +945,7 @@ function commitPlacement(finishedWork: Fiber): void {
}
const before = getHostSibling(finishedWork);
// We only have the top Fiber that was inserted but we need recurse down its
// We only have the top Fiber that was inserted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = finishedWork;
while (true) {
@@ -987,7 +987,7 @@ function commitPlacement(finishedWork: Fiber): void {
}
function unmountHostComponents(current): void {
// We only have the top Fiber that was deleted but we need recurse down its
// We only have the top Fiber that was deleted but we need to recurse down its
// children to find all the terminal nodes.
let node: Fiber = current;