diff --git a/src/lib/Ball.svelte b/src/lib/Ball.svelte index 2b1708d..c004578 100644 --- a/src/lib/Ball.svelte +++ b/src/lib/Ball.svelte @@ -20,7 +20,7 @@ children, }: Props = $props(); - let brightness = $derived(active ? '100%' : '50%') + let brightness: string = $derived(active ? '100%' : '50%') function onclick(): void { if (active)