mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
@@ -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.',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user