File tree 1 file changed +2
-4
lines changed
packages/react-devtools-shared/src/devtools/views/Profiler
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default function HoveredFiberInfo({fiberData}: Props) {
39
39
rootID : ( ( rootID : any ) : number ) ,
40
40
} ) ;
41
41
42
- let renderDurationInfo ;
42
+ let renderDurationInfo = null ;
43
43
let i = 0 ;
44
44
for ( i = 0 ; i < commitIndices . length ; i ++ ) {
45
45
const commitIndex = commitIndices [ i ] ;
@@ -67,9 +67,7 @@ export default function HoveredFiberInfo({fiberData}: Props) {
67
67
< div className = { styles . Component } > { name } </ div >
68
68
</ div >
69
69
< div className = { styles . Content } >
70
- { renderDurationInfo || (
71
- < div > Did not render during this profiling session.</ div >
72
- ) }
70
+ { renderDurationInfo || < div > Did not render.</ div > }
73
71
< WhatChanged fiberID = { ( ( id : any ) : number ) } />
74
72
</ div >
75
73
</ Fragment >
You can’t perform that action at this time.
0 commit comments