diff --git a/components/PostListing.tsx b/components/PostListing.tsx --- a/components/PostListing.tsx +++ b/components/PostListing.tsx @@ -22,6 +22,7 @@ import { mergePreferences } from "src/utils/mergePreferences"; import { ExternalLinkTiny } from "./Icons/ExternalLinkTiny"; import { getDocumentURL } from "app/lish/createPub/getPublicationURL"; +import { RecommendButton } from "./RecommendButton"; export const PostListing = (props: Post) => { let pubRecord = props.publication?.pubRecord as @@ -146,6 +147,7 @@ postUrl={postUrl} quotesCount={quotes} commentsCount={comments} + recommendsCount={recommends} tags={tags} showComments={mergedPrefs.showComments !== false} showMentions={mergedPrefs.showMentions !== false} @@ -205,6 +207,7 @@ const Interactions = (props: { quotesCount: number; commentsCount: number; + recommendsCount: number; tags?: string[]; postUrl: string; showComments: boolean; @@ -228,6 +231,10 @@ className={`flex gap-2 text-tertiary text-sm items-center justify-between px-1`} >