Update useError.md
This commit is contained in:
committed by
GitHub
parent
9661870d03
commit
b15a2e895e
@ -27,7 +27,7 @@ const useError = err => {
|
||||
```
|
||||
|
||||
```jsx
|
||||
Rconst ErrorButton = () => {
|
||||
const ErrorButton = () => {
|
||||
const dispatchError = useError();
|
||||
|
||||
const clickHandler = () => {
|
||||
|
||||
Reference in New Issue
Block a user