Skip to content

Commit a774502

Browse files
authored
Use single quotes in getComponentName return (#19873)
1 parent 8b2d378 commit a774502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/getComponentName.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function getComponentName(type: mixed): string | null {
6666
caseREACT_PORTAL_TYPE:
6767
return'Portal';
6868
caseREACT_PROFILER_TYPE:
69-
return`Profiler`;
69+
return'Profiler';
7070
caseREACT_STRICT_MODE_TYPE:
7171
return'StrictMode';
7272
caseREACT_SUSPENSE_TYPE:

0 commit comments

Comments
 (0)
close