chore: fix lint errors (#2833)

This PR fixes current lint errors thrown by `deno lint`.
This commit is contained in:
Tim Reichen
2025-03-05 12:31:25 +01:00
committed by GitHub
parent f49a3f1d99
commit 0a634bd2d2
22 changed files with 1453 additions and 64 deletions
+10 -2
View File
@@ -14,11 +14,19 @@ export function Counter(props: CounterProps) {
return (
<div id={props.id} class={active.value ? "ready" : ""}>
<button class="decrement" onClick={() => props.count.value -= 1}>
<button
type="button"
class="decrement"
onClick={() => props.count.value -= 1}
>
-1
</button>
<p class="output">{props.count}</p>
<button class="increment" onClick={() => props.count.value += 1}>
<button
type="button"
class="increment"
onClick={() => props.count.value += 1}
>
+1
</button>
</div>