Revert "fix(react/promoted_attributes): removing relation sometimes not refreshing"

This reverts commit 320f064775926a9512db91f077fd9a532f6b47da.
This commit is contained in:
Elian Doran 2025-11-23 21:31:40 +02:00
parent 11e59a970e
commit 1cca15ca5d
No known key found for this signature in database

View File

@ -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 (
<div className="input-group" style={containerStyle}>