From 320f064775926a9512db91f077fd9a532f6b47da Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 23 Nov 2025 14:59:23 +0200 Subject: [PATCH] fix(react/promoted_attributes): removing relation sometimes not refreshing --- apps/client/src/widgets/react/NoteAutocomplete.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/NoteAutocomplete.tsx b/apps/client/src/widgets/react/NoteAutocomplete.tsx index c61285603..297bde4d3 100644 --- a/apps/client/src/widgets/react/NoteAutocomplete.tsx +++ b/apps/client/src/widgets/react/NoteAutocomplete.tsx @@ -95,7 +95,7 @@ export default function NoteAutocomplete({ id, inputRef: externalInputRef, text, $autoComplete.autocomplete("val", "").trigger("change"); ref.current.value = ""; } - }, [text, noteId]); + }); // no inputs is intentional to enforce the text of the autocomplete, which is modified externally by the autocomplete. return (