getPropsForSearchResult: Harden to missing conversation

This commit is contained in:
Scott Nonnenberg 2020-06-18 15:28:45 -07:00
parent 9f1304bca8
commit 6aedb30905
3 changed files with 26 additions and 7 deletions

View file

@ -24,7 +24,7 @@ export class ContactName extends React.Component<Props> {
return (
<span className={prefix} dir="auto">
<Emojify text={title} />
<Emojify text={title || ''} />
{shouldShowProfile ? ' ' : null}
{profileElement}
</span>