From 2114ec5319d13509057d970e521aa7cd144d1a4d Mon Sep 17 00:00:00 2001 From: Shiba <44804845+DeepDoge@users.noreply.github.com> Date: Sun, 5 Jan 2025 11:54:45 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ac8ea4..a6e7c99 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ declare global { } class CounterElement extends WithLifecycle(HTMLElement) { - static _ = customElements.define("x-counter", CounterElement) + static _ = customElements.define("x-counter", this) #count = ref(0)