Null safety (#9355)

This commit is contained in:
melohagan 2023-01-16 14:34:10 +00:00 committed by GitHub
parent ba6ba35b23
commit 84291ff5ee
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
{#if $selectedComponent}
{#key $selectedComponent._id}
<Panel {title} icon={componentDefinition?.icon} borderLeft>
{#if componentDefinition.info}
{#if componentDefinition?.info}
<ComponentInfoSection {componentDefinition} />
{/if}
<ComponentSettingsSection