From 0c1fc2f2614126a8482fdfa6343e4cae45bcf72b Mon Sep 17 00:00:00 2001 From: Frank Mayer Date: Tue, 23 Jul 2024 02:50:47 +0200 Subject: [PATCH] docs(readme): updated example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8857f67..f4aed1e 100644 --- a/README.md +++ b/README.md @@ -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 {