We don't actually use this anywhere, so let's remove it.

https://github.com/facebook/react/blob/f1d00156df5453bc62bd5668fefdcac4ca67e90e/src/renderers/shared/fiber/ReactFiberScheduler.js#L1504-L1512
}
      if (didError) {
        invariant(
          nextEffect !== null,
          'Should have next effect. This error is likely caused by a bug ' +
            'in React. Please file an issue.',
        );
        captureError(nextEffect, error);
        
        if (nextEffect !== null) {
          nextEffect = nextEffect.nextEffect;
        }
      }
    }
    if (__DEV__) {
      stopCommitHostEffectsTimer();
    }
    resetAfterCommit();
    
    
    
    
    root.current = finishedWork;
    
    
    
    
    nextEffect = firstEffect;
    if (__DEV__) {
      startCommitLifeCyclesTimer();