From b9d7990f4f4fdff115fe0dd0812a8442b016ac8b Mon Sep 17 00:00:00 2001 From: Philipp Bosch Date: Thu, 22 Sep 2022 09:30:23 +0200 Subject: [PATCH] docs: Remove extraneous FallbackComponent prop from error boundary docs It looks like the code snippet was copied over from https://github.com/bvaughn/react-error-boundary but the `ErrorBoundary` component on this docs page does not have a `FallbackComponent` prop but renders the error message content itself. --- docs/advanced-features/error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-features/error-handling.md b/docs/advanced-features/error-handling.md index a164c58e48392..f4b8d258e5f07 100644 --- a/docs/advanced-features/error-handling.md +++ b/docs/advanced-features/error-handling.md @@ -88,7 +88,7 @@ import ErrorBoundary from '../components/ErrorBoundary' function MyApp({ Component, pageProps }) { return ( // Wrap the Component prop with ErrorBoundary component - + )