mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
links: key linkItems by date
This commit is contained in:
parent
8559d9d7de
commit
bbd105c2e4
@ -71,10 +71,11 @@ export function LinkResource(props: LinkResourceProps) {
|
|||||||
<Row width="100%" flexShrink='0'>
|
<Row width="100%" flexShrink='0'>
|
||||||
<LinkSubmit s3={s3} name={name} ship={ship.slice(1)} api={api} />
|
<LinkSubmit s3={s3} name={name} ship={ship.slice(1)} api={api} />
|
||||||
</Row>
|
</Row>
|
||||||
{Array.from(graph.values()).map((node: GraphNode) => {
|
{Array.from(graph).map(([date, node]) => {
|
||||||
const contact = contactDetails[node.post.author];
|
const contact = contactDetails[node.post.author];
|
||||||
return (
|
return (
|
||||||
<LinkItem
|
<LinkItem
|
||||||
|
key={date}
|
||||||
resource={resourcePath}
|
resource={resourcePath}
|
||||||
node={node}
|
node={node}
|
||||||
nickname={contact?.nickname}
|
nickname={contact?.nickname}
|
||||||
|
Loading…
Reference in New Issue
Block a user