Skip to content

Commit 746f771

Browse files
Update src/routes/concepts/control-flow/error-boundary.mdx
Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent 5138086 commit 746f771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/control-flow/error-boundary.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ function App() {
3838
```
3939

4040
In this example, when the `ErrorProne` component throws an error, the `<ErrorBoundary>` catches it, preventing it from affecting the rest of the application.
41-
Instead, it displays an error message in place of the `ErrorProne` component.
41+
Instead, it displays the error message passed to the fallback prop.

0 commit comments

Comments
 (0)