From 1cca15ca5db7e0abca3d2ed8b0c4060cf4489d86 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 23 Nov 2025 21:31:40 +0200 Subject: [PATCH] Revert "fix(react/promoted_attributes): removing relation sometimes not refreshing" This reverts commit 320f064775926a9512db91f077fd9a532f6b47da. --- 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 297bde4d3..c61285603 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 = ""; } - }); // no inputs is intentional to enforce the text of the autocomplete, which is modified externally by the autocomplete. + }, [text, noteId]); return (