Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tatethurston authored May 19, 2022
1 parent ded432d commit 1ba0aee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Whenever the component or a child component throws an error you can use this hoo
// resetError = Call this function to mark an error as resolved. It's
// up to your app to decide what that means and if it is possible
// to recover from errors.
//
const [error, resetError] = useErrorBoundary();
```

Expand Down

0 comments on commit 1ba0aee

Please sign in to comment.