fix: builds failing

This commit is contained in:
SethBurkart123
2025-06-12 16:59:21 +10:00
parent 66ff6e3468
commit 7462e6ab5d
3 changed files with 10 additions and 4 deletions
+4 -1
View File
@@ -278,7 +278,10 @@
onChange={(value) => updatePluginSetting(plugin.pluginId, key, value)}
/>
{:else if setting.type === 'component'}
<svelte:component this={setting.component} />
{#if setting.component}
{@const Component = setting.component}
<Component />
{/if}
{/if}
</div>
</div>