diff --git a/components/content-picker/index.tsx b/components/content-picker/index.tsx index 347a8990..4c9093be 100644 --- a/components/content-picker/index.tsx +++ b/components/content-picker/index.tsx @@ -98,7 +98,7 @@ export const ContentPicker: React.FC = ({ { id: item.id, uuid: uuidv4(), - type: 'subtype' in item ? item.subtype : item.type, + type: 'subtype' in item && item.subtype ? item.subtype : item.type, }, ...content, ];