From badf84c4555252c4014c54e7a8c86faaa357dff2 Mon Sep 17 00:00:00 2001 From: James Scott-Brown Date: Wed, 15 Nov 2023 16:01:42 +0000 Subject: [PATCH] remove some unused index variables (#158) --- packages/ui/src/lib/checkBox/CheckboxGroup.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/lib/checkBox/CheckboxGroup.svelte b/packages/ui/src/lib/checkBox/CheckboxGroup.svelte index 6c53c492..7d01e95b 100644 --- a/packages/ui/src/lib/checkBox/CheckboxGroup.svelte +++ b/packages/ui/src/lib/checkBox/CheckboxGroup.svelte @@ -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]) ); };