diff --git a/README.md b/README.md index 81543d4..e07a681 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,7 @@ If your params are not changing, yet you need to refresh the data, you can call const StarwarsHero = ({ id }) => { const asyncHero = useAsync(fetchStarwarsHero, [id]); - return
asyncHero.execute()}>...
; + return
asyncHero.execute(id)}>...
; }; ```