Skip to content

🎥 Make videos programmatically with React

gif fix

Patric Salvisberg96e903d11933
diff --git a/packages/cli/src/editor/components/NewComposition/ComboBox.tsx b/packages/cli/src/editor/components/NewComposition/ComboBox.tsx
index 7c205d173d..e823b82d94 100644
--- a/packages/cli/src/editor/components/NewComposition/ComboBox.tsx
+++ b/packages/cli/src/editor/components/NewComposition/ComboBox.tsx
@@ -200,7 +200,7 @@ export const Combobox: React.FC<{
style={style}
className={MENU_INITIATOR_CLASSNAME}
>
- {selected.label} <Flex /> <Spacing x={1} /> <CaretDown />
+ {selected?.label} <Flex /> <Spacing x={1} /> <CaretDown />
</button>
{portalStyle
? ReactDOM.createPortal(