Skip to content

Commit

Permalink
squelch warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed May 27, 2024
1 parent 9bba03a commit fe24ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/routes/tutorial/[slug]/filetree/Filetree.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
}
</script>

<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<ul
class="filetree"
class:mobile
Expand Down
3 changes: 2 additions & 1 deletion src/routes/tutorial/[slug]/filetree/Item.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
}
</script>

<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<li
aria-current={selected ? 'true' : undefined}
style="--depth: {depth}; --icon: url('{icon}');"
Expand Down Expand Up @@ -208,4 +209,4 @@
:global(.mobile-filetree) [aria-current='true']::after {
display: none;
}
</style>
</style>

0 comments on commit fe24ac9

Please sign in to comment.