links: pass contact metadata to link items

This commit is contained in:
Matilde Park 2020-09-29 14:37:33 -04:00
parent 487aa501c6
commit 08c228739a

View File

@ -71,10 +71,10 @@ export const LinkList = (props) => {
</div>
{ Array.from(props.graph).map(([date, node]) => {
const { nickname, color, avatar } =
getContactDetails(props.contacts[ship]);
getContactDetails(props.contacts[node?.post?.author]);
return (
<LinkItem
key={date}
resource={resource}
node={node}
nickname={nickname}