links: link detail gets author nickname properly

This commit is contained in:
Matilde Park 2020-09-29 14:50:32 -04:00
parent 08c228739a
commit 3adcfae0ee

View File

@ -29,8 +29,7 @@ export const LinkDetail = (props) => {
);
}
const { nickname } = getContactDetails(props.contacts[ship]);
const our = getContactDetails(props.contacts[window.ship]);
const { nickname } = getContactDetails(props.contacts[props.node?.post?.author]);
const resourcePath = `${props.ship}/${props.name}`;
const title = props.resource.metadata.title || resourcePath;