From 19f41b21e2330d42c45f7e46889d61b6f640f913 Mon Sep 17 00:00:00 2001 From: sagar Date: Thu, 9 Jan 2020 20:28:00 +0530 Subject: [PATCH] isLoading set to false --- snippets/UseAsync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/UseAsync.md b/snippets/UseAsync.md index 561582f2f..4c43ace15 100644 --- a/snippets/UseAsync.md +++ b/snippets/UseAsync.md @@ -50,7 +50,7 @@ const useAsync = (fn, options = {}) => { ```jsx const App = () => { - const handleSubmit = (args) => { // args {foo: bar} + const handleSubmit = (args) => { // args { foo: bar } const url = "https://jsonplaceholder.typicode.com/todos" return fetch(url).then(response => response.json()) }