mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
Merge pull request #4452 from tylershuster/content-titles
links: adds titles to remote content
This commit is contained in:
commit
8b8ad09dde
@ -116,10 +116,10 @@ export const LinkItem = (props: LinkItemProps): ReactElement => {
|
||||
overflow="hidden"
|
||||
onClick={markRead}
|
||||
>
|
||||
<Text p={2}>{contents[0].text}</Text>
|
||||
<RemoteContent
|
||||
ref={(r) => {
|
||||
remoteRef.current = r;
|
||||
}}
|
||||
ref={r => { remoteRef.current = r }}
|
||||
renderUrl={false}
|
||||
url={contents[1].url}
|
||||
text={contents[0].text}
|
||||
unfold={true}
|
||||
|
Loading…
Reference in New Issue
Block a user