From be08f13f77e4944e7ff33b6b19dd58cb899c184e Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Fri, 12 Dec 2025 16:51:42 +0400 Subject: [PATCH] fix comment action import --- .../[didOrHandle]/(profile)/comments/CommentsContent.tsx | 2 +- .../{ => (profile)/comments}/getProfileComments.ts | 0 app/p/[didOrHandle]/(profile)/comments/page.tsx | 8 ++++++-- 3 files changed, 7 insertions(+), 3 deletions(-) rename app/p/[didOrHandle]/{ => (profile)/comments}/getProfileComments.ts (100%) 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 ( - + ); } -- 2.54.0