Skip to content

Commit 40a9e64

Browse files
unstubbablegaearon
authored andcommitted
Move a comment to its original location (#12103)
`type` was added in #11818 below the comment that belongs to `domNamespace`
1 parent d3b183c commit 40a9e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom/src/server/ReactPartialRenderer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,9 @@ class ReactDOMServerRenderer {
637637
const flatChildren = flattenTopLevelChildren(children);
638638

639639
const topFrame: Frame = {
640+
type: null,
640641
// Assume all trees start in the HTML namespace (not totally true, but
641642
// this is what we did historically)
642-
type: null,
643643
domNamespace: Namespaces.html,
644644
children: flatChildren,
645645
childIndex: 0,

0 commit comments

Comments
 (0)