1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed popeper placement

This commit is contained in:
Fedor Katurov 2022-01-10 10:02:19 +07:00
parent 0a5caf6bda
commit 03ab52f814
3 changed files with 8 additions and 9 deletions

View file

@ -101,8 +101,8 @@ const TagInput: FC<IProps> = ({ exclude, onAppend, onClearTag, onSubmit }) => {
const onAutocompleteSelect = useCallback(
(val: string) => {
onAppend([val]);
setInput('');
onAppend([val]);
},
[onAppend, setInput]
);