Renamed function in error log issue #21446 (#21449)
faebzz committed
May 7, 2021 at 03:03 UTC
1bb8987cc98e09af20a1f9d549433eb9960f669d
1 file changed
+1
-1
packages/shared/getComponentNameFromType.js
+1
-1
@@ -53,7 +53,7 @@ export default function getComponentNameFromType(type: mixed): string | null {
53
if (__DEV__) {
54
if (typeof (type: any).tag === 'number') {
55
console.error(
56
- 'Received an unexpected object in getComponentName(). ' +
56
+ 'Received an unexpected object in getComponentNameFromType(). ' +
57
'This is likely a bug in React. Please file an issue.',
58
);
59
}