Skip to content

Commit 4e89e0d

Browse files
committed
Merge branch 'feature/#585-create-base-structure' into feature/#587-implement-vscode-extension
2 parents eee9b7e + f22c54d commit 4e89e0d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/src/common/a11y/nested-list/nested-list.mappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const mapFlatOptionsToNestedListOptions = <
3030
): A11yNestedListOption<Option>[] => {
3131
const map = new Map<string, any>();
3232
flatOptions.forEach(flatOption => {
33-
const { tabIndex, id, ...option } = flatOption;
33+
const { parentId: _parentId, tabIndex, id, ...option } = flatOption;
3434
map.set(id, { ...option, id, tabIndex, children: undefined });
3535
});
3636

apps/web/src/common/a11y/nested-select/nested-select.mappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const mapFlatOptionsToNestedSelectOptions = <
3232
): A11yNestedSelectOption<Option>[] => {
3333
const map = new Map<string, any>();
3434
flatOptions.forEach(flatOption => {
35-
const { tabIndex, id, isSelectable, ...option } = flatOption;
35+
const { parentId: _parentId, tabIndex, id, isSelectable, ...option } = flatOption;
3636
map.set(id, { ...option, id, tabIndex, isSelectable, children: undefined });
3737
});
3838

apps/web/src/common/a11y/select/select.mappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export const mapInternalSelectOptionToOption = <Option>(
66
if (!internalSelectedOption) {
77
return undefined;
88
}
9-
const { ...option } = internalSelectedOption;
9+
const { isSelectable: _isSelectable, tabIndex: _tabIndex, ...option } = internalSelectedOption;
1010
return option as Option;
1111
};

0 commit comments

Comments
 (0)