Skip to content

Commit

Permalink
style: Disable some eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryBlokHed committed Dec 24, 2024
1 parent 66bac13 commit 619a8a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/SetSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
// Update the active set if setName changes
$effect(() => {
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
setName;
untrack(() => ($set = [setName, $sets.get(setName)!]));
});
// Update setName if the active set changes
$effect(() => {
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
$set;
untrack(() => (setName = $set[0]));
});
Expand Down

0 comments on commit 619a8a3

Please sign in to comment.