Skip to content

Commit

Permalink
Renamed function in error log issue facebook#21446 (facebook#21449)
Browse files Browse the repository at this point in the history
  • Loading branch information
faebzz authored and koto committed Jun 15, 2021
1 parent 73f6f36 commit bc359a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/getComponentNameFromType.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
);
}
Expand Down

0 comments on commit bc359a8

Please sign in to comment.