message: fix(react): correct typo in ErrorBoundaryProps
  corrects typo from "with" to "when"
diff: @@ -40,7 +40,7 @@ export type ErrorBoundaryProps = {
  *
  */
  fallback?: React.ReactElement | FallbackRender;
  - /** Called with the error boundary encounters an error */
  + /** Called when the error boundary encounters an error */
  onError?(error: Error, componentStack: string, eventId: string): void;
  /** Called on componentDidMount() */
  onMount?(): void;
  