This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-29 19:01:53 -05:00
1 parent 2040095050
commit 6c2b2f2c3e
1 file changed
+1 -1
@@ -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);
}