# Pastebin vouPK9Yx Cannot create SubHeader element because React.Element [1] is incompatible with string [2] in property subHeading. root/collection/CollectionHeader.js [1] 29│ <> 30│ {collection.public ? ( 31│ l('Public collection by {owner}', 32│ { 33│ __react: true, 34│ owner: , 35│ }) 36│ ) : l('Private collection')} 37│ {collection.editor ? ( 38│ 39│ {[ 40│ ' (', 41│ 42│ {$c.user && collection.editor && collection.editor.id === $c.user.id ? ( 43│ l('See all of your collections') 44│ ) : ( 45│ l("See all of {editor}'s public collections", {__react: true, editor: collection.editor.name}) 46│ )} 47│ , 48│ ')', 49│ ]} 50│ 51│ ) : null} 52│ : 57│

58│ 59│

60│ 61│ 62│ 63│ root/components/SubHeader.js [2] 12│ const SubHeader = ({subHeading}: {subHeading: string}) => (