fix: remove redundant assignments to \$derived variables before goto

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Piotr Oleszczyk 2026-02-28 13:00:19 +01:00
parent 853019075d
commit ac28eb30d1
2 changed files with 0 additions and 2 deletions

View file

@ -61,7 +61,6 @@
type="single"
value={filterFlag}
onValueChange={(v) => {
filterFlag = v;
goto(v ? `/health/lab-results?flag=${v}` : '/health/lab-results');
}}
>

View file

@ -23,7 +23,6 @@
let selectedCategory = $derived(data.category ?? '');
function filterByCategory(cat: string) {
selectedCategory = cat;
goto(cat ? `/products?category=${cat}` : '/products');
}
</script>