From b5fa1df64f2ea75ca6d13d8a8c46becd4751c105 Mon Sep 17 00:00:00 2001 From: Aditya Agarwal Date: Thu, 10 Jan 2019 17:16:33 +0530 Subject: [PATCH] Reset button should set the state back to `initialCount` (#1327) --- content/docs/hooks-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index af9e5e447..9d4f39307 100644 --- a/content/docs/hooks-reference.md +++ b/content/docs/hooks-reference.md @@ -54,7 +54,7 @@ function Counter({initialCount}) { return ( <> Count: {count} - +