diff --git a/README.md b/README.md index dba4a64..8c86913 100644 --- a/README.md +++ b/README.md @@ -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.