mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
680adea4e7
commit
56a8973fa0
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue