diff --git a/README.md b/README.md index 93e2de2..e905b4c 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ import getScoreResource from "../resources/score"; const Score = ({ matchId }) => { const scoreResource = getScoreResource(matchId); const score = scoreResource.watch(); - const reloadScore = () => score.refresh(); // 👈 refresh the resource + const reloadScore = () => scoreResource.refresh(); // 👈 refresh the resource return (