diff --git a/app/(main)/player/[id]/page.tsx b/app/(main)/player/[id]/page.tsx
index 787b720..e2877be 100644
--- a/app/(main)/player/[id]/page.tsx
+++ b/app/(main)/player/[id]/page.tsx
@@ -76,7 +76,11 @@ export default async function PlayerDetailPage({ params }: { params: Promise<{ i
)}
-
+
diff --git a/app/(main)/post/[id]/page.tsx b/app/(main)/post/[id]/page.tsx
index c1a9d57..cf4bdaa 100644
--- a/app/(main)/post/[id]/page.tsx
+++ b/app/(main)/post/[id]/page.tsx
@@ -2,12 +2,11 @@ import { ArrowLeft, Heart, MessageCircle, Pin, Star } from "lucide-react"
import Image from "next/image"
import Link from "next/link"
import { notFound } from "next/navigation"
+import { PostComments } from "@/components/post-comments"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
import { Badge } from "@/components/ui/badge"
-import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader } from "@/components/ui/card"
import { Separator } from "@/components/ui/separator"
-import { Textarea } from "@/components/ui/textarea"
import { roleLabels } from "@/lib/constants"
import { mockComments, mockOrders, mockPlayers, mockPosts } from "@/lib/mock"
@@ -112,47 +111,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
-
-
评论 ({comments.length})
-
-
-
-
-
-
- {comments.length === 0 ? (
-
还没有评论
- ) : (
-
- {comments.map((comment) => (
-
-
-
- {comment.author.nickname[0]}
-
-
-
- {comment.author.nickname}
-
- {new Date(comment.createdAt).toLocaleString("zh-CN")}
-
-
-
{comment.content}
-
-
-
- ))}
-
- )}
-
+
)
}
diff --git a/app/(main)/post/new/page.tsx b/app/(main)/post/new/page.tsx
index a587a2c..1132ce8 100644
--- a/app/(main)/post/new/page.tsx
+++ b/app/(main)/post/new/page.tsx
@@ -20,7 +20,7 @@ import {
SelectValue,
} from "@/components/ui/select"
import { Textarea } from "@/components/ui/textarea"
-import { mockPosts } from "@/lib/mock"
+import { mockOrders, mockPosts } from "@/lib/mock"
import { useRequireAuth } from "@/lib/use-require-auth"
const postSchema = z.object({
@@ -37,6 +37,7 @@ export default function NewPostPage() {
const [selectedTags, setSelectedTags] = useState