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) {
  • From: {mii.islandName} Island
  • -
  • - Allowed Copying: -
  • + {mii.allowedCopying && ( +
  • + Allowed Copying: +
  • + )} {/* Mii Gender */} @@ -176,13 +178,7 @@ export default async function MiiPage({ params }: Props) { {/* Submission name */}

    {mii.name}

    {/* Like button */} - 0} - isLoggedIn={session?.user != null} - big - /> + 0} isLoggedIn={session?.user != null} big /> {/* Tags */}