添加详情页的点赞计数,添加网站图标
This commit is contained in:
@@ -77,6 +77,7 @@ export default async function AwemeDetail({ params }: { params: Promise<{ awemeI
|
||||
height: video!.height ?? null,
|
||||
author: { nickname: video!.author.nickname, avatar_url: video!.author.avatar_url },
|
||||
commentsCount,
|
||||
likesCount: Number(video!.digg_count),
|
||||
}
|
||||
: {
|
||||
type: "image" as const,
|
||||
@@ -87,6 +88,7 @@ export default async function AwemeDetail({ params }: { params: Promise<{ awemeI
|
||||
music_url: post!.music_url,
|
||||
author: { nickname: post!.author.nickname, avatar_url: post!.author.avatar_url },
|
||||
commentsCount,
|
||||
likesCount: Number(post!.digg_count),
|
||||
};
|
||||
|
||||
// Compute prev/next neighbors by created_at across videos and image posts
|
||||
|
||||
Reference in New Issue
Block a user