fix(text): add link doesn't clear bookmark section when removing the note selection

This commit is contained in:
Elian Doran
2026-04-18 11:07:13 +03:00
parent 4244b66cea
commit 96ddb79d06

View File

@@ -59,6 +59,8 @@ export default function AddLinkDialog() {
useEffect(() => {
if (!suggestion) {
resetExternalLink();
setBookmarks([]);
setSelectedBookmark("");
return;
}