Skip to content

Commit

Permalink
remove some unused index variables (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesscottbrown authored Nov 15, 2023
1 parent 71bb3e8 commit badf84c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/lib/checkBox/CheckboxGroup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
const selectAll = () => {
selectionState = Object.fromEntries(
options.map((o, i) => [o.id, o.disabled ? selectionState[o.id] : true])
options.map((o) => [o.id, o.disabled ? selectionState[o.id] : true])
);
};
const clearAll = () => {
selectionState = Object.fromEntries(
options.map((o, i) => [o.id, o.disabled ? selectionState[o.id] : false])
options.map((o) => [o.id, o.disabled ? selectionState[o.id] : false])
);
};
Expand Down

0 comments on commit badf84c

Please sign in to comment.