mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
GraphContent: fix image rendering
This commit is contained in:
parent
1cb938fced
commit
4143c00f3a
@ -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} />
|
||||
|
Loading…
Reference in New Issue
Block a user