Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed May 24, 2022
1 parent 2b5d682 commit 5fea66e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ const query = (
selector: string;
} => ({ selector: JSON.stringify({ term, conditions }) });

type UserAutoCompleteProps = ComponentProps<typeof AutoComplete> &
type UserAutoCompleteProps = Omit<ComponentProps<typeof AutoComplete>, 'value' | 'filter'> &
Omit<ComponentProps<typeof Option>, 'value' | 'onChange'> & {
conditions?: { [key: string]: unknown };
filter?: string;
value: string;
};

const UserAutoComplete = ({ value, ...props }: UserAutoCompleteProps): ReactElement => {
Expand All @@ -33,7 +34,7 @@ const UserAutoComplete = ({ value, ...props }: UserAutoCompleteProps): ReactElem
return (
<AutoComplete
{...props}
value={value}
value={value as any}
filter={filter}
setFilter={setFilter}
renderSelected={({ value, label }): ReactElement => {
Expand Down

0 comments on commit 5fea66e

Please sign in to comment.