File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/react-devtools-shared/src/devtools/views/Profiler Expand file tree Collapse file tree 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) {
3939 rootID : ( ( rootID : any ) : number ) ,
4040 } ) ;
4141
42- let renderDurationInfo ;
42+ let renderDurationInfo = null ;
4343 let i = 0 ;
4444 for ( i = 0 ; i < commitIndices . length ; i ++ ) {
4545 const commitIndex = commitIndices [ i ] ;
@@ -67,9 +67,7 @@ export default function HoveredFiberInfo({fiberData}: Props) {
6767 < div className = { styles . Component } > { name } </ div >
6868 </ div >
6969 < div className = { styles . Content } >
70- { renderDurationInfo || (
71- < div > Did not render during this profiling session.</ div >
72- ) }
70+ { renderDurationInfo || < div > Did not render.</ div > }
7371 < WhatChanged fiberID = { ( ( id : any ) : number ) } />
7472 </ div >
7573 </ Fragment >
You can’t perform that action at this time.
0 commit comments