From b15a2e895e552fc3780600b3e7a0f6f78dc0922b Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Mon, 7 Feb 2022 21:03:52 +0200 Subject: [PATCH] Update useError.md --- snippets/useError.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/useError.md b/snippets/useError.md index 4833eb685..e58b39ddc 100644 --- a/snippets/useError.md +++ b/snippets/useError.md @@ -27,7 +27,7 @@ const useError = err => { ``` ```jsx -Rconst ErrorButton = () => { +const ErrorButton = () => { const dispatchError = useError(); const clickHandler = () => {