Use single quotes in getComponentName return (#19873)
Gustavo Saiani committed
Sep 21, 2020 at 09:35 UTC
a774502e0ff2a82e3c0a3102534dbc3f1406e5ea
1 file changed
+1
-1
packages/shared/getComponentName.js
+1
-1
@@ -66,7 +66,7 @@ function getComponentName(type: mixed): string | null {
66
case REACT_PORTAL_TYPE:
67
return 'Portal';
68
case REACT_PROFILER_TYPE:
69
- return `Profiler`;
69
+ return 'Profiler';
70
case REACT_STRICT_MODE_TYPE:
71
return 'StrictMode';
72
case REACT_SUSPENSE_TYPE: