mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
docs: useAsyncFn typo fix
This commit is contained in:
parent
914fccfffc
commit
5bd194f23a
@ -13,7 +13,7 @@ const Demo = (url) => {
|
||||
const response = await fetch(url);
|
||||
const result = await response.text();
|
||||
return result
|
||||
}), [url];
|
||||
}, [url]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user