Skip to content

docs: fix typo in ErrorBoundary message#685

Open
everettbu wants to merge 1 commit intomainfrom
fix/typo-in-error-boundary
Open

docs: fix typo in ErrorBoundary message#685
everettbu wants to merge 1 commit intomainfrom
fix/typo-in-error-boundary

Conversation

@everettbu
Copy link
Copy Markdown

Mirror of facebook/react#36001
Original author: 0xPedrop


Summary

Fixed a spelling error in the ErrorBoundary component within React DevTools. The word "occured" was corrected to "occurred" in the fallback error message to ensure professional and correct terminology in the user interface.

How did you test this change?

This is a non-functional change to a static string. I verified the spelling correction manually in the source code. No logic was altered, so no existing tests should be impacted.

@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 11, 2026

Greptile Summary

This PR fixes a spelling typo in packages/react-devtools-shared/src/devtools/views/ErrorBoundary/ErrorBoundary.js, correcting "Error occured in inspected element" to "Error occurred in inspected element". The change is purely cosmetic — it affects a single fallback error message string with no impact on logic, behavior, or tests.

Confidence Score: 5/5

  • This PR is safe to merge — it is a one-word spelling correction with no functional impact.
  • The change is a single-word typo fix in a static string. No logic, tests, or runtime behavior is affected.
  • No files require special attention.

Important Files Changed

Filename Overview
packages/react-devtools-shared/src/devtools/views/ErrorBoundary/ErrorBoundary.js Single-character typo fix: corrects "occured" to "occurred" in a fallback error message string. No logic changes.

Last reviewed commit: 74919ba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants