refactor(control): implement ESLint -> remove unnecessary imports, improve general code quality

This commit is contained in:
E44
2026-06-09 22:00:36 +02:00
parent 64b8fcffe2
commit 919bba7c2e
14 changed files with 41 additions and 51 deletions
@@ -9,7 +9,6 @@
Highlighter,
Italic,
PaintBucket,
QrCode,
Strikethrough
} from 'lucide-svelte';
import Button from '$lib/components/Button.svelte';
@@ -149,7 +148,7 @@
editor_state.editor?.destroy();
});
</script>
{#each Object.values(color_states) as color_state, i (i)}
<input type="color" bind:this={color_state.el} bind:value={color_state.value} class="hidden" />
{/each}
@@ -163,9 +162,9 @@
</div>
<div class="flex flex-col gap-2 justify-between">
<div class="flex flex-col gap-2">
<div class="flex flex-col gap-2">
{#each text_edit_options as edit_row, i (i)}
<div class="flex flex-row gap-1">
<div class="flex flex-row gap-1">
{#each edit_row as option, j (j)}
<div class="flex flex-row">
<button