Skip to content

Commit

Permalink
Typo fix in comment (#14787)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenrizSusam authored and sophiebits committed Feb 10, 2019
1 parent 1d48b4a commit 3e295ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-reconciler/src/ReactFiberCommitWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3e295ed

Please sign in to comment.