Skip to content

Commit

Permalink
Renamed function in error log issue #21446 (#21449)
Browse files Browse the repository at this point in the history
  • Loading branch information
faebzz authored May 7, 2021
1 parent bd070eb commit 1bb8987
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 1bb8987

Please sign in to comment.