fix(control): fix warning in compile process

This commit is contained in:
E44
2026-01-19 18:36:33 +01:00
parent 2711d89f22
commit c8e21a64bf
@@ -30,7 +30,7 @@
enter_function?: (() => void) | null;
} = $props();
let focus_bg = get_shifted_color(bg, 100);
let focus_bg = $derived(get_shifted_color(bg, 100));
let focused: boolean = $state(false);
let current_info = $state('');
let input_element: HTMLInputElement;