fix: type errors with markdown content

This commit is contained in:
Paul Makles
2022-07-13 12:57:01 +01:00
parent 27a0ec9bf5
commit e269e5e256
4 changed files with 30 additions and 21 deletions

View File

@@ -159,7 +159,8 @@ const Message = observer(
/>
</span>
)}
{replacement ?? <Markdown content={content} />}
{replacement ??
(content && <Markdown content={content} />)}
{!queued && <InviteList message={message} />}
{queued?.error && (
<Category>