Skip to content

Commit

Permalink
chore: ts ignore qualifier introduced typing problem with this change
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Nov 8, 2024
1 parent f363ec8 commit ab53544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/data-entry/QueryItem/Qualifier.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const Qualifier = (props: IQueryItemQualifierProps) => {
defaultValue: props.options?.length ? props.options[0].value : undefined,
menuItemSelectedIcon: node =>
node.isSelected ? <CheckIcon className="query-item-qualifier__item-selected-icon" /> : null,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error Introduced when we properly typed the Select value and option generics from Aquarium. Need to double check to fix this.
onChange: props.onChange,
onDropdownVisibleChange: () => {
setIsOpen(!isOpen)
Expand Down

0 comments on commit ab53544

Please sign in to comment.