Skip to content

Commit

Permalink
Use single quotes in getComponentName return (#19873)
Browse files Browse the repository at this point in the history
  • Loading branch information
gusaiani committed Sep 21, 2020
1 parent 8b2d378 commit a774502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/getComponentName.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function getComponentName(type: mixed): string | null {
case REACT_PORTAL_TYPE:
return 'Portal';
case REACT_PROFILER_TYPE:
return `Profiler`;
return 'Profiler';
case REACT_STRICT_MODE_TYPE:
return 'StrictMode';
case REACT_SUSPENSE_TYPE:
Expand Down

0 comments on commit a774502

Please sign in to comment.