Skip to content

Commit 1bb8987

Browse files
authored
Renamed function in error log issue #21446 (#21449)
1 parent bd070eb commit 1bb8987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/shared/getComponentNameFromType.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function getComponentNameFromType(type: mixed): string | null {
5353
if (__DEV__) {
5454
if (typeof (type: any).tag === 'number') {
5555
console.error(
56-
'Received an unexpected object in getComponentName(). ' +
56+
'Received an unexpected object in getComponentNameFromType(). ' +
5757
'This is likely a bug in React. Please file an issue.',
5858
);
5959
}

0 commit comments

Comments
 (0)