diff --git a/src/app/mii/[id]/page.tsx b/src/app/mii/[id]/page.tsx index 86638b9..91fe88c 100644 --- a/src/app/mii/[id]/page.tsx +++ b/src/app/mii/[id]/page.tsx @@ -94,7 +94,7 @@ export default async function MiiPage({ params }: Props) { userId: Number(session.user.id), }, select: { userId: true }, - } + } : false, _count: { select: { likedBy: true }, // Get total like count @@ -144,9 +144,11 @@ export default async function MiiPage({ params }: Props) {