Skip to content

Commit

Permalink
Merge pull request #85 from mittwald/mfal-patch-1
Browse files Browse the repository at this point in the history
Fix code example
  • Loading branch information
mfal authored Sep 26, 2023
2 parents 8f553b3 + d5530c6 commit 55c3ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<ScoreBox>
Expand Down

0 comments on commit 55c3ae2

Please sign in to comment.