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 (
<NotePreview
key={noteId}
host={note?.author}
host={props.host}
book={props.book}
note={note}
contact={props.contacts[note.author.substr(1)]}