a tool for shared writing and social publishing

fix comment action import

+7 -3
+1 -1
app/p/[didOrHandle]/(profile)/comments/CommentsContent.tsx
··· 12 12 getProfileComments, 13 13 type ProfileComment, 14 14 type Cursor, 15 - } from "../getProfileComments"; 15 + } from "./getProfileComments"; 16 16 import { timeAgo } from "src/utils/timeAgo"; 17 17 import { getPublicationURL } from "app/lish/createPub/getPublicationURL"; 18 18
+6 -2
app/p/[didOrHandle]/(profile)/comments/page.tsx
··· 1 1 import { idResolver } from "app/(home-pages)/reader/idResolver"; 2 - import { getProfileComments } from "../../getProfileComments"; 2 + import { getProfileComments } from "./getProfileComments"; 3 3 import { ProfileCommentsContent } from "./CommentsContent"; 4 4 5 5 export default async function ProfileCommentsPage(props: { ··· 19 19 const { comments, nextCursor } = await getProfileComments(did); 20 20 21 21 return ( 22 - <ProfileCommentsContent did={did} comments={comments} nextCursor={nextCursor} /> 22 + <ProfileCommentsContent 23 + did={did} 24 + comments={comments} 25 + nextCursor={nextCursor} 26 + /> 23 27 ); 24 28 }
app/p/[didOrHandle]/getProfileComments.ts app/p/[didOrHandle]/(profile)/comments/getProfileComments.ts