From 133c6cd0d94b6f644fa72b14bce3d0782048cd57 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 16 Mar 2020 18:16:57 +0700 Subject: [PATCH] Fixed tags not having proper dependencies --- src/components/node/Tags/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/node/Tags/index.tsx b/src/components/node/Tags/index.tsx index ced5bd78..f22e0826 100644 --- a/src/components/node/Tags/index.tsx +++ b/src/components/node/Tags/index.tsx @@ -32,7 +32,7 @@ export const Tags: FC = ({ tags, is_editable, onTagsChange, ...props }) tag.title.substr(0, 1) === '/' ? [[...obj[0], tag], obj[1]] : [obj[0], [...obj[1], tag]], [[], []] ), - [] + [tags] ); const onInput = useCallback(