mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +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} />,
|
'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 }) => (
|
'graph-url': ({ url }) => (
|
||||||
<Box mt="1" mb="2" flexShrink={0}>
|
<Box mt="1" mb="2" flexShrink={0}>
|
||||||
<RemoteContent key={url} url={url} />
|
<RemoteContent key={url} url={url} />
|
||||||
|
Loading…
Reference in New Issue
Block a user