publish: link preview correctly

This commit is contained in:
Liam Fitzgerald 2020-08-25 11:33:29 +10:00
parent 766fd8411b
commit 1150c750cf

View File

@ -24,7 +24,7 @@ export function NotebookPosts(props: NotebookPostsProps) {
return ( return (
<NotePreview <NotePreview
key={noteId} key={noteId}
host={note?.author} host={props.host}
book={props.book} book={props.book}
note={note} note={note}
contact={props.contacts[note.author.substr(1)]} contact={props.contacts[note.author.substr(1)]}