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
+1
View File
@@ -46,6 +46,7 @@ export default function CopyArea(props: { code: string }) {
Copied!
</div>
<button
type="button"
aria-label="Copy to Clipboard"
disabled={!IS_BROWSER}
class={`rounded p-1.5 border border-foreground-secondary/30 hover:bg-foreground-secondary/70 ${
+1 -1
View File
@@ -10,7 +10,7 @@ export function FormSubmitDemo() {
value="lemon-meringue-pie"
id="lemon-meringue-pie"
name="treat"
checked={true}
checked
/>
Lemon meringue pie
</label>
+1
View File
@@ -103,6 +103,7 @@ export function TableOfContents({ headings }: TableOfContentsProps) {
<>
<div class="xl:hidden mx-4 md:mx-0 mt-4 md:mt-0">
<button
type="button"
id="toc-outline-btn"
onClick={() => setIsOpen((v) => !v)}
class="bg-background-primary py-2 px-4 rounded border border-foreground-secondary/30 flex items-center hover:border-fresh-green/80 transition-colors text-sm"