mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added search to useEffect deps
This commit is contained in:
parent
1da36ef036
commit
c19fb3282e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ const TagAutocompleteUnconnected: FC<Props> = ({
|
|||
window.removeEventListener('resize', onScroll);
|
||||
window.removeEventListener('scroll', onScroll);
|
||||
};
|
||||
}, [options]);
|
||||
}, [options, search]);
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.window, { [styles.top]: top, [styles.left]: left })}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue