feat(catalog): fetch players, services, shops

This commit is contained in:
zetaloop
2026-02-28 16:37:15 +08:00
parent f4365668ab
commit f1ae3e04bb
11 changed files with 234 additions and 57 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
if (!post) notFound()
const linkedOrder = post.linkedOrderId ? getOrderById(post.linkedOrderId) : null
const linkedPlayer = linkedOrder ? getPlayerById(linkedOrder.playerId) : null
const linkedPlayer = linkedOrder ? await getPlayerById(linkedOrder.playerId) : null
return (
<div className="container mx-auto max-w-2xl px-4 py-8 space-y-6">