We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df1574 commit fe747a5Copy full SHA for fe747a5
packages/shared/getComponentName.js
@@ -18,6 +18,7 @@ import {
18
REACT_PROFILER_TYPE,
19
REACT_PROVIDER_TYPE,
20
REACT_STRICT_MODE_TYPE,
21
+ REACT_TIMEOUT_TYPE,
22
} from 'shared/ReactSymbols';
23
24
function getComponentName(fiber: Fiber): string | null {
@@ -43,6 +44,8 @@ function getComponentName(fiber: Fiber): string | null {
43
44
return 'Context.Provider';
45
case REACT_STRICT_MODE_TYPE:
46
return 'StrictMode';
47
+ case REACT_TIMEOUT_TYPE:
48
+ return 'Timeout';
49
}
50
if (typeof type === 'object' && type !== null) {
51
switch (type.$$typeof) {
0 commit comments