Skip to content

Commit

Permalink
fix: typo in error-boundaries.md (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-McKelvey authored Oct 2, 2023
1 parent 7c4f3b0 commit 07f8a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ This example is based on the [Event Bubbling Through Portal](https://reactjs.org
[React-error-boundary](https://github.com/bvaughn/react-error-boundary) - is a lightweight package ready to use for this scenario with TS support built-in.
This approach also lets you avoid class components that are not that popular anymore.

##### Options 2: Writing your custom error boundary component
##### Option 2: Writing your custom error boundary component

If you don't want to add a new npm package for this, you can also write your own `ErrorBoundary` component.

Expand Down
2 changes: 1 addition & 1 deletion docs/basic/getting-started/error-boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Error Boundaries
[React-error-boundary](https://github.com/bvaughn/react-error-boundary) - is a lightweight package ready to use for this scenario with TS support built-in.
This approach also lets you avoid class components that are not that popular anymore.

### Options 2: Writing your custom error boundary component
### Option 2: Writing your custom error boundary component

If you don't want to add a new npm package for this, you can also write your own `ErrorBoundary` component.

Expand Down

0 comments on commit 07f8a5a

Please sign in to comment.