refactor: resolve svelte-check hints

This commit is contained in:
Eric Liu 2022-03-12 13:02:29 -08:00
commit 1fee16d441
5 changed files with 7 additions and 17 deletions

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { ToggleSmall, CodeSnippet } from "../types";
import { CodeSnippet } from "../types";
let toggled = false;
@ -7,9 +7,4 @@
$: code = Array.from({ length }, (_, i) => i + 1).join("\n");
</script>
<ToggleSmall
style="margin-bottom: var(--cds-spacing-05)"
labelText="Trigger snippet overflow"
bind:toggled
/>
<CodeSnippet type="multi" code="{code}" />