Skip to content

Commit 07f8a5a

Browse files
fix: typo in error-boundaries.md (typescript-cheatsheets#661)
1 parent 7c4f3b0 commit 07f8a5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ This example is based on the [Event Bubbling Through Portal](https://reactjs.org
18651865
[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.
18661866
This approach also lets you avoid class components that are not that popular anymore.
18671867

1868-
##### Options 2: Writing your custom error boundary component
1868+
##### Option 2: Writing your custom error boundary component
18691869

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

docs/basic/getting-started/error-boundaries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Error Boundaries
88
[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.
99
This approach also lets you avoid class components that are not that popular anymore.
1010

11-
### Options 2: Writing your custom error boundary component
11+
### Option 2: Writing your custom error boundary component
1212

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

0 commit comments

Comments
 (0)