File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
packages/react-devtools-shared/src/backend Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import {
3030  getStackByFiberInDevAndProd , 
3131  getOwnerStackByFiberInDev , 
3232  supportsOwnerStacks , 
33-   supportsNativeConsoleTasks , 
33+   supportsConsoleTasks , 
3434}  from  './fiber/DevToolsFiberComponentStack' ; 
3535import  { formatOwnerStack }  from  './shared/DevToolsOwnerStack' ; 
3636import  { castBool ,  castBrowserTheme }  from  '../utils' ; 
@@ -251,7 +251,7 @@ export function patch({
251251
252252                if  ( 
253253                  consoleSettingsRef . appendComponentStack  && 
254-                   ! supportsNativeConsoleTasks ( current ) 
254+                   ! supportsConsoleTasks ( current ) 
255255                )  { 
256256                  const  enableOwnerStacks  =  supportsOwnerStacks ( current ) ; 
257257                  let  componentStack  =  '' ; 
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export function getStackByFiberInDevAndProd(
108108  } 
109109} 
110110
111- export  function  supportsNativeConsoleTasks ( fiber : Fiber ) : boolean  { 
111+ export  function  supportsConsoleTasks ( fiber : Fiber ) : boolean  { 
112112  // If this Fiber supports native console.createTask then we are already running 
113113  // inside a native async stack trace if it's active - meaning the DevTools is open. 
114114  // Ideally we'd detect if this task was created while the DevTools was open or not. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments