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

Fixed tags not having proper dependencies

This commit is contained in:
Fedor Katurov 2020-03-16 18:16:57 +07:00
parent c989d50277
commit 133c6cd0d9

View file

@ -32,7 +32,7 @@ export const Tags: FC<IProps> = ({ tags, is_editable, onTagsChange, ...props })
tag.title.substr(0, 1) === '/' ? [[...obj[0], tag], obj[1]] : [obj[0], [...obj[1], tag]],
[[], []]
),
[]
[tags]
);
const onInput = useCallback(