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
console.error(e);
      }
       If we're in the commit phase, defer scheduling an update on the
       boundary until after the commit is complete
      if (isCommitting) {
        if (commitPhaseBoundaries === null) {
          commitPhaseBoundaries = new Set();
        }
        commitPhaseBoundaries.add(boundary);
      } else {
         
         
         
         
        scheduleErrorRecovery(boundary);
      }
      return boundary;
    } else if (firstUncaughtError === null) {
       
      firstUncaughtError = error;
    }
    return null;
  }
  function hasCapturedError(fiber: Fiber): boolean {
     
     
    return (
      capturedErrors !== null &&
      (capturedErrors.has(fiber) ||