Update useError.md

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-02-07 21:03:52 +02:00
committed by GitHub
parent 9661870d03
commit b15a2e895e

View File

@ -27,7 +27,7 @@ const useError = err => {
```
```jsx
Rconst ErrorButton = () => {
const ErrorButton = () => {
const dispatchError = useError();
const clickHandler = () => {