File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,7 @@ export default function StylesProvider(props) {
8484    if  ( ! context . jss . options . insertionPoint  &&  injectFirst  &&  typeof  window  !==  'undefined' )  { 
8585      if  ( ! injectFirstNode )  { 
8686        const  head  =  document . head ; 
87-         // TODO: uncomment once we enable eslint-plugin-react-compiler 
88-         // eslint-disable-next-line react-compiler/react-compiler -- injectFirstNode is called inside callback 
89-         // eslint-disable-next-line react-hooks/rules-of-hooks 
87+         // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- injectFirstNode is called inside callback 
9088        injectFirstNode  =  document . createComment ( 'mui-inject-first' ) ; 
9189        head . insertBefore ( injectFirstNode ,  head . firstChild ) ; 
9290      } 
Original file line number Diff line number Diff line change @@ -164,8 +164,7 @@ function useSynchronousEffect(func, values) {
164164  let  output ; 
165165
166166  // Store "generation" key. Just returns a new object every time 
167-   // TODO: uncomment once we enable eslint-plugin-react-compiler // 
168-   // eslint-disable-next-line react-compiler/react-compiler 
167+   // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler 
169168  const  currentKey  =  React . useMemo ( ( )  =>  ( { } ) ,  values ) ;  // eslint-disable-line react-hooks/exhaustive-deps 
170169
171170  // "the first render", or "memo dropped the value" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments