We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc5cb04 commit 78be42dCopy full SHA for 78be42d
src/routes/reference/components/error-boundary.mdx
@@ -23,7 +23,7 @@ For instance:
23
**Type**: `JSX.Element | ((err: any, reset: () => void) => JSX.Element)`
24
25
The content to display when an error occurs.
26
-If `fallback` is a function, it receives two parameters:
+If a function is passed, it receives two parameters:
27
28
- `err`: The caught error object.
29
- `reset`: A function that forces the `<ErrorBoundary>` to re-render its children and clear the error state.
0 commit comments