web: fix editor tags not updated when creating note in a tag

This commit is contained in:
Abdullah Atta
2024-03-20 11:43:52 +05:00
parent b4834a503b
commit 36ef105a8a

View File

@@ -42,7 +42,7 @@ function Header(props: HeaderProps) {
useEffect(() => {
refreshTags();
}, [id, refreshTags]);
}, [id, refreshTags, session?.type]);
const setTag = useCallback(
async function (noteId: string, tags: Tag[], value: string) {