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()) }