diff --git a/app/p/[didOrHandle]/(profile)/comments/CommentsContent.tsx b/app/p/[didOrHandle]/(profile)/comments/CommentsContent.tsx index f77cffe9..3948adbf 100644 --- a/app/p/[didOrHandle]/(profile)/comments/CommentsContent.tsx +++ b/app/p/[didOrHandle]/(profile)/comments/CommentsContent.tsx @@ -12,7 +12,7 @@ import { getProfileComments, type ProfileComment, type Cursor, -} from "../getProfileComments"; +} from "./getProfileComments"; import { timeAgo } from "src/utils/timeAgo"; import { getPublicationURL } from "app/lish/createPub/getPublicationURL"; diff --git a/app/p/[didOrHandle]/getProfileComments.ts b/app/p/[didOrHandle]/(profile)/comments/getProfileComments.ts similarity index 100% rename from app/p/[didOrHandle]/getProfileComments.ts rename to app/p/[didOrHandle]/(profile)/comments/getProfileComments.ts diff --git a/app/p/[didOrHandle]/(profile)/comments/page.tsx b/app/p/[didOrHandle]/(profile)/comments/page.tsx index f67f1c35..07cad5fe 100644 --- a/app/p/[didOrHandle]/(profile)/comments/page.tsx +++ b/app/p/[didOrHandle]/(profile)/comments/page.tsx @@ -1,5 +1,5 @@ import { idResolver } from "app/(home-pages)/reader/idResolver"; -import { getProfileComments } from "../../getProfileComments"; +import { getProfileComments } from "./getProfileComments"; import { ProfileCommentsContent } from "./CommentsContent"; export default async function ProfileCommentsPage(props: { @@ -19,6 +19,10 @@ export default async function ProfileCommentsPage(props: { const { comments, nextCursor } = await getProfileComments(did); return ( - + ); }