Skip to content

Commit abc8fa9

Browse files
committed
Revert partial render ownerName
1 parent 2979a97 commit abc8fa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ class ReactDOMServerRenderer {
13161316
"it's defined in, or you might have mixed up default and " +
13171317
'named imports.';
13181318
}
1319-
const ownerName = owner ? null : null;
1319+
const ownerName = getComponentName(owner);
13201320
if (ownerName) {
13211321
info += '\n\nCheck the render method of `' + ownerName + '`.';
13221322
}

0 commit comments

Comments
 (0)