GraphContent: fix image rendering

This commit is contained in:
Liam Fitzgerald 2021-05-06 14:54:44 +10:00
parent 1cb938fced
commit 4143c00f3a
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -346,6 +346,11 @@ const renderers = {
);
},
'graph-mention': ({ ship }) => <Mention api={{} as any} ship={ship} />,
'image': ({ url }) => (
<Box mt="1" mb="2" flexShrink={0}>
<RemoteContent key={url} url={url} />
</Box>
),
'graph-url': ({ url }) => (
<Box mt="1" mb="2" flexShrink={0}>
<RemoteContent key={url} url={url} />