From c3c50e178757ca9dc6a3c5bd4b650dff6cfd985f Mon Sep 17 00:00:00 2001 From: Masoud Bonabi Date: Sat, 7 Aug 2021 11:04:35 +0430 Subject: [PATCH 1/2] Changes "The current value or" to "the current value of" in the docs --- docs/api-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-reference.md b/docs/api-reference.md index 7416d1f7..d8d36f89 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -68,7 +68,7 @@ The `renderHook` function returns an object that has the following properties: } ``` -The `current` value or the `result` will reflect the latest of whatever is returned from the +The `current` value of the `result` will reflect the latest of whatever is returned from the `callback` passed to `renderHook`. Any thrown values from the latest call will be reflected in the `error` value of the `result`. The `all` value is an array containing all the returns (including the most recent) from the callback. These could be `result` or an `error` depending on what the callback From f9363ab72e68bb988b9a649f47ba565274aa2336 Mon Sep 17 00:00:00 2001 From: Masoud Bonabi Date: Sat, 7 Aug 2021 11:14:33 +0430 Subject: [PATCH 2/2] Adds masious as a contributor --- .all-contributorsrc | 9 +++++++++ README.md | 1 + 2 files changed, 10 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 0f175cdb..5ea4dc36 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -584,6 +584,15 @@ "contributions": [ "test" ] + }, + { + "login": "masious", + "name": "Masious", + "avatar_url": "https://avatars.githubusercontent.com/u/6429009?v=4", + "profile": "https://www.facebook.com/masoud.bonabi", + "contributions": [ + "doc" + ] } ], "skipCi": true, diff --git a/README.md b/README.md index eb79ae8b..88f0944b 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Bryan Wain

🐛 👀
Robert Snow

⚠️
Chris Chen

⚠️ +
Masious

📖