Skip to content

Commit

Permalink
fix: remove any cast
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Oct 22, 2020
1 parent f59f74b commit 83a0e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/autocomplete-core/src/onInput.ts
Expand Up @@ -123,7 +123,7 @@ export function onInput<TItem>({
)
.then((collections) => {
setStatus('idle');
setCollections(collections as any);
setCollections(collections);
setIsOpen(
nextState.isOpen ??
((query.length === 0 && props.openOnFocus) ||
Expand Down

0 comments on commit 83a0e84

Please sign in to comment.