Skip to content

Commit 3f9c036

Browse files
DenrizSusamaweary
authored andcommitted
Typo fix in comment (#17111)
1 parent f6b8d31 commit 3f9c036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom/src/client/ReactDOMComponentTree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function markContainerAsRoot(hostRoot, node) {
3434
// If the target node is part of a hydrated or not yet rendered subtree, then
3535
// this may also return a SuspenseComponent or HostRoot to indicate that.
3636
// Conceptually the HostRoot fiber is a child of the Container node. So if you
37-
// pass the Container node as the targetNode, you wiill not actually get the
37+
// pass the Container node as the targetNode, you will not actually get the
3838
// HostRoot back. To get to the HostRoot, you need to pass a child of it.
3939
// The same thing applies to Suspense boundaries.
4040
export function getClosestInstanceFromNode(targetNode) {

0 commit comments

Comments
 (0)