diff --git a/src/components/AutocompleteInput/index.tsx b/src/components/AutocompleteInput/index.tsx index 6d6fe1f..1a32a23 100644 --- a/src/components/AutocompleteInput/index.tsx +++ b/src/components/AutocompleteInput/index.tsx @@ -220,8 +220,7 @@ const DownshiftAutocompleteContent = ({ help, ...props -}: DownshiftAutocompleteContentProps & - Omit, 'value' | 'defaultValue'>) => { +}: DownshiftAutocompleteContentProps) => { // I use ref instead of state for this, because I don't want it to trigger an effect or re-render. // I could simply not use it on the deps array, BUT then the value wouldn't be up to date inside the effect scope const isFetchingRef = useRef(false);