Use single quotes in getComponentName return (#19873)

This commit is contained in:
Gustavo Saiani
2020-09-21 13:35:21 +01:00
committed by GitHub
parent 8b2d3783e5
commit a774502e0f
+1 -1
View File
@@ -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: