Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Sep 24, 2024
1 parent 77f2758 commit 6750e11
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lib/components/lines-and-dots/event-type-filter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@
const onOptionClick = ({ value }) => {
clearActiveEvents();
if (value === 'none') {
$eventTypeFilter = [];
return;
} else if (value === 'all') {
$eventTypeFilter = defaultOptions;
return;
}
$eventTypeFilter = $eventTypeFilter.some((type) => type === value)
? $eventTypeFilter.filter((type) => type !== value)
: [...$eventTypeFilter, value];
Expand Down

0 comments on commit 6750e11

Please sign in to comment.