I'd appreciate any insights;
I made a simple component in toddle that has a few divs and a couple of APIs. I used the export snippet to embed the component in my website. My website is a CMS based site (Joomla) with 3 themes/templates. The component works as expected only with of the themes and gives the following error when other themes are activated. Just to give more context, on the problematic themes, some elements still work and the issue is that only one of the divs in the component fails to render, and one of the apis fail to work. here is the error:
TypeError: Cannot read properties of undefined (reading 'cleanup')
at createNode.ts:296:18
at Array.forEach (<anonymous>)
at createNode.ts:294:43
at Ct.subscribe (signal.ts:35:5)
at v (createNode.ts:188:18)
at _ (createNode.ts:340:12)
at createElement.ts:191:26
at Array.forEach (<anonymous>)
at po (createElement.ts:190:19)
at m (createNode.ts:40:11)