diff --git a/packages/shared/getComponentNameFromType.js b/packages/shared/getComponentNameFromType.js index 7428f8c11d735..a8e1d088664e9 100644 --- a/packages/shared/getComponentNameFromType.js +++ b/packages/shared/getComponentNameFromType.js @@ -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.', ); }