ui: autocomplete: fix component render

This commit is contained in:
undefined committed 2025-03-28 20:50:58 +08:00
1 parent 8e8ab22561
commit 574d45f914
8 files changed
+12 -13

No files matched your search

@@ -31,7 +31,7 @@ export default class ProblemSelectAutoComplete extends AutoComplete {
attach() {
const value = this.$dom.val();
ReactDOM.createRoot(this.container).render(
this.component.render(
<Component
ref={(ref) => { this.ref = ref; }}
value={value}