diff --git a/app/(app)/(home-pages)/p/[didOrHandle]/comments/page.tsx b/app/(app)/(home-pages)/p/[didOrHandle]/comments/page.tsx
index 079222d7..331b610f 100644
--- a/app/(app)/(home-pages)/p/[didOrHandle]/comments/page.tsx
+++ b/app/(app)/(home-pages)/p/[didOrHandle]/comments/page.tsx
@@ -18,7 +18,7 @@ export default async function ProfileCommentsPage(props: {
}
return (
- }>
+
);
@@ -34,7 +34,3 @@ async function ProfileCommentsLoader({ did }: { did: string }) {
/>
);
}
-
-function ProfileCommentsSkeleton() {
- return null;
-}
diff --git a/app/(app)/lish/[did]/[publication]/[rkey]/DocumentPageRenderer.tsx b/app/(app)/lish/[did]/[publication]/[rkey]/DocumentPageRenderer.tsx
index 572ba68a..62412fb1 100644
--- a/app/(app)/lish/[did]/[publication]/[rkey]/DocumentPageRenderer.tsx
+++ b/app/(app)/lish/[did]/[publication]/[rkey]/DocumentPageRenderer.tsx
@@ -20,10 +20,7 @@ import { FontLoader } from "components/FontLoader";
import { mergePreferences } from "src/utils/mergePreferences";
import { PublicationNav } from "../PublicationNav";
import { getPublicationURL } from "app/(app)/lish/createPub/getPublicationURL";
-import {
- CommentsSection,
- CommentsSkeleton,
-} from "./Interactions/Comments/CommentsSection";
+import { CommentsSection } from "./Interactions/Comments/CommentsSection";
export async function DocumentPageRenderer({
did,
@@ -127,7 +124,7 @@ export async function DocumentPageRenderer({
prerenderedCodeBlocks={prerenderedCodeBlocks}
pollData={pollData}
commentsSlot={
- }>
+
}
diff --git a/app/(app)/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentsSection.tsx b/app/(app)/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentsSection.tsx
index 28d24eef..b0912d14 100644
--- a/app/(app)/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentsSection.tsx
+++ b/app/(app)/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentsSection.tsx
@@ -14,9 +14,7 @@ export async function CommentsSection({
.eq("document", document_uri);
const safeRows = rows ?? [];
- const dids = Array.from(
- new Set(safeRows.map((c) => new AtUri(c.uri).host)),
- );
+ const dids = Array.from(new Set(safeRows.map((c) => new AtUri(c.uri).host)));
const profiles = await getProfiles(dids);
const comments: Comment[] = safeRows.map((c) => {
@@ -37,13 +35,6 @@ export async function CommentsSection({
});
return (
-
+
);
}
-
-export function CommentsSkeleton() {
- return null;
-}