mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 23:29:24 -05:00
refac
This commit is contained in:
1 parent
680adea4e7
commit
56a8973fa0
1 file changed
+3
@@ -76,6 +76,9 @@ export function getSuggestionRenderer(Component: any, ComponentProps = {}) {
|
||||
|
||||
if (container?.parentNode) container.parentNode.removeChild(container);
|
||||
container = null;
|
||||
|
||||
if (refEl?.parentNode) refEl.parentNode.removeChild(refEl);
|
||||
refEl = null;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user