From d5530c64abf6c15d9434e201f628fd8b15c631b9 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Tue, 26 Sep 2023 15:49:59 +0200 Subject: [PATCH] Fix code example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (