Skip to content

Commit cf3e9a3

Browse files
committed
fix: fix lint issues
1 parent 96d429d commit cf3e9a3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/Icon.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@
2222
fill="currentColor"
2323
viewBox="0 0 {height} {height}"
2424
class={classes}
25-
{...rest}>{@html icons[icon] ?? ""}</svg>
25+
{...rest}>
26+
<!-- eslint-disable-next-line svelte/no-at-html-tags -- only from iconify data -->
27+
{@html icons[icon] ?? ""}
28+
</svg>

src/components/Lines.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script>
22
import { onMount } from "svelte";
33
4-
const { height = $bindable(0), width = $bindable(0), ...rest } = $props();
4+
const { height = $bindable(0), width = $bindable(0) } = $props();
55
66
let perHeight = $derived(Math.floor(height / 4));
77
let perWidth = $derived(Math.floor(width / 4));

0 commit comments

Comments
 (0)