fix: check for unmounted chart

This commit is contained in:
caele
2025-11-20 16:42:10 +01:00
parent 1868190786
commit 269447714c

View File

@@ -110,7 +110,7 @@ export default function boot({ app, context }) {
await rendered;
components.push(component);
componentsUnmount.push(unmount);
appRef.current.setComps(components);
appRef?.current?.setComps(components);
})();
},
remove(component) {