Skip to content

Commit edfeafc

Browse files
committed
Updating the readme with the correct error handler prop
1 parent 2fb7d88 commit edfeafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ An unopinionated `<ErrorBoundary />` React component for React 16+.
55
```JSX
66
<div>
77
<ErrorBoundary
8-
onCaughtError={logError}
8+
onError={logError}
99
>
1010
{error => error
1111
? (

0 commit comments

Comments
 (0)