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 (
      capturedErrors !== null &&
      capturedErrors.size > 0 &&
      nextPriorityLevel === TaskPriority
    ) {
      while (nextUnitOfWork !== null) {
        if (hasCapturedError(nextUnitOfWork)) {
          
          nextUnitOfWork = performFailedUnitOfWork(nextUnitOfWork);
        } else {
          nextUnitOfWork = performUnitOfWork(nextUnitOfWork);
        }
        if (nextUnitOfWork === null) {
          invariant(
            pendingCommit !== null,
            'Should have a pending commit. This error is likely caused by ' +
              'a bug in React. Please file an issue.',
          );
          
          priorityContext = TaskPriority;
          commitAllWork(pendingCommit);
          priorityContext = nextPriorityLevel;
          if (
            capturedErrors === null ||
            capturedErrors.size === 0 ||
            nextPriorityLevel !== TaskPriority
          ) {