From 4d1cda8348010e7c0625ba9802cbaa94ca5f62a0 Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sat, 12 Apr 2025 14:51:13 +0100 Subject: [PATCH] fix: error when showing mii in submit form --- next.config.ts | 3 +++ src/app/components/submit-form/index.tsx | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/next.config.ts b/next.config.ts index 791beae..af06301 100644 --- a/next.config.ts +++ b/next.config.ts @@ -9,6 +9,9 @@ const nextConfig: NextConfig = { { hostname: "cdn.discordapp.com", }, + { + hostname: "studio.mii.nintendo.com", + }, ], }, }; diff --git a/src/app/components/submit-form/index.tsx b/src/app/components/submit-form/index.tsx index f650a8a..a1edc53 100644 --- a/src/app/components/submit-form/index.tsx +++ b/src/app/components/submit-form/index.tsx @@ -127,17 +127,18 @@ export default function SubmitForm() {
-
+
{!studioUrl && Mii} Nintendo Studio URL
-
+
{!generatedQrCodeUrl && QR Code}