Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
tatethurston committed May 19, 2022
1 parent 1ba0aee commit 6bf903c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Just trying things out or want to skip the build step? Use the unpkg URL:
Whenever the component or a child component throws an error you can use this hook to catch the error and display an error UI to the user.

```jsx
// error = The error that was caught or `undefined` if nothing
// error = The error that was caught or `undefined` if nothing
// errored. If something other than an instance of `Error`
// was thrown, it will be wrapped in an `Error` object by calling
// `new Error()` on the thrown value.
Expand Down

0 comments on commit 6bf903c

Please sign in to comment.