feat(posts): wire community pages to backend posts API

This commit is contained in:
zetaloop
2026-02-28 17:25:57 +08:00
parent bffd8b4968
commit e94a7e68ff
5 changed files with 204 additions and 127 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export default async function UserProfilePage({ params }: { params: Promise<{ id
}
const [userPosts, userFavorites, players, shops] = await Promise.all([
listPostsByAuthor(user.id),
listPostsByAuthor(id),
listFavoritesByUser(user.id),
listPlayers(),
listShops(),