Renamed function in error log issue #21446 (#21449)

This commit is contained in:
faebzz
2021-05-07 03:03:21 +02:00
committed by GitHub
parent bd070eb2c4
commit 1bb8987cc9

View File

@@ -53,7 +53,7 @@ export default function getComponentNameFromType(type: mixed): string | null {
if (__DEV__) {
if (typeof (type: any).tag === 'number') {
console.error(
'Received an unexpected object in getComponentName(). ' +
'Received an unexpected object in getComponentNameFromType(). ' +
'This is likely a bug in React. Please file an issue.',
);
}