This commit is contained in:
Timothy Jaeryang Baek
2026-03-29 19:01:53 -05:00
parent 2040095050
commit 6c2b2f2c3e
@@ -109,7 +109,7 @@ export function getSuggestionRenderer(Component: any, ComponentProps = {}) {
popup = null;
try {
component.$destroy();
component?.$destroy();
} catch (e) {
console.error('Error unmounting component:', e);
}