Skip to content

Commit 78be42d

Browse files
Update src/routes/reference/components/error-boundary.mdx
Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent bc5cb04 commit 78be42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/reference/components/error-boundary.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For instance:
2323
**Type**: `JSX.Element | ((err: any, reset: () => void) => JSX.Element)`
2424

2525
The content to display when an error occurs.
26-
If `fallback` is a function, it receives two parameters:
26+
If a function is passed, it receives two parameters:
2727

2828
- `err`: The caught error object.
2929
- `reset`: A function that forces the `<ErrorBoundary>` to re-render its children and clear the error state.

0 commit comments

Comments
 (0)