diff --git a/frontend/src/routes/SearchFilterBar.svelte b/frontend/src/routes/SearchFilterBar.svelte index a7251202..589476df 100644 --- a/frontend/src/routes/SearchFilterBar.svelte +++ b/frontend/src/routes/SearchFilterBar.svelte @@ -45,7 +45,8 @@ let { let sortDirMounted = false; $effect(() => { - // Track sort and dir so this effect re-runs when either changes + // Read sort and dir so Svelte tracks them as dependencies of this effect. + // `void` suppresses the ESLint no-unused-expressions rule for bare variable reads. void sort; void dir; if (!sortDirMounted) {