fix: remove redundant assignments to \$derived variables before goto
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
853019075d
commit
ac28eb30d1
2 changed files with 0 additions and 2 deletions
|
|
@ -61,7 +61,6 @@
|
|||
type="single"
|
||||
value={filterFlag}
|
||||
onValueChange={(v) => {
|
||||
filterFlag = v;
|
||||
goto(v ? `/health/lab-results?flag=${v}` : '/health/lab-results');
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
let selectedCategory = $derived(data.category ?? '');
|
||||
|
||||
function filterByCategory(cat: string) {
|
||||
selectedCategory = cat;
|
||||
goto(cat ? `/products?category=${cat}` : '/products');
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue