From cc4c4c63b0529cbcc11138500587ec1adada9867 Mon Sep 17 00:00:00 2001 From: Erik McKelvey Date: Mon, 2 Oct 2023 12:31:03 -0700 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0571b15c..e3542991 100644 --- a/README.md +++ b/README.md @@ -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.