From 2e334d155f6263d8eebd89c612d47e1ce8572f77 Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sun, 1 Feb 2026 20:38:30 +0000 Subject: [PATCH] fix: allowed copying build error changed allow copying to optional due to switch game --- src/app/mii/[id]/page.tsx | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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 */}