Skip to content

Commit

Permalink
Update 09-error-handling.md (#1238)
Browse files Browse the repository at this point in the history
Fix grammar mistake `an component` to `a component`
  • Loading branch information
100Interest authored Feb 14, 2025
1 parent 4cd7564 commit d8120b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/tutorial/09-error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ each parent component in the tree is given an opportunity to handle the error.

As a result, Error Boundaries can be nested if implemented using `componentDidCatch`.
When a component's `componentDidCatch()` method _doesn't_ call `setState()`, the
error will continue to bubble up the Virtual DOM tree until it reaches an component
error will continue to bubble up the Virtual DOM tree until it reaches a component
with a `componentDidCatch` method that _does_ call `setState()`.

## Try it!
Expand Down

0 comments on commit d8120b3

Please sign in to comment.