Skip to content

Commit

Permalink
docs(readme): updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukinoko-kun committed Jul 23, 2024
1 parent 6e723e8 commit 0c1fc2f
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 @@ -64,7 +64,7 @@ function incrementCounter() {

function updateButtonText() {
const counter = res(Counter)
for (const [text] of query([UiText, CounterMarker])) {
for (const [text] of query([UiText], query.and(CounterMarker))) {
if (counter.value === 0) {
text.value = "Press 'b' to increment the counter!"
} else {
Expand Down

0 comments on commit 0c1fc2f

Please sign in to comment.