chore: fix lint errors (#2833)
This PR fixes current lint errors thrown by `deno lint`.
This commit is contained in:
@@ -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 ${
|
||||
|
||||
@@ -10,7 +10,7 @@ export function FormSubmitDemo() {
|
||||
value="lemon-meringue-pie"
|
||||
id="lemon-meringue-pie"
|
||||
name="treat"
|
||||
checked={true}
|
||||
checked
|
||||
/>
|
||||
Lemon meringue pie
|
||||
</label>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user