From 1703eb1b5dda3b902dce2e8dd02fbc51460b4169 Mon Sep 17 00:00:00 2001 From: Eunwoo Choi Date: Wed, 24 Jul 2024 23:41:20 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20show=20category=20preset=20if=20"?= =?UTF-8?q?=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC"=20in=20deny=20reason=20(#?= =?UTF-8?q?652)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pendingBots/[id]/[date].tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/pendingBots/[id]/[date].tsx b/pages/pendingBots/[id]/[date].tsx index e6e888d..72cc269 100644 --- a/pages/pendingBots/[id]/[date].tsx +++ b/pages/pendingBots/[id]/[date].tsx @@ -61,7 +61,11 @@ const PendingBot: NextPage = ({ data }) => { {BotSubmissionDenyReasonPresetsName[data.reason] || data.reason}

-
{DenyPresetsArticle[data.reason]}
+
+ {data.reason.includes('카테고리') + ? DenyPresetsArticle.INVALID_CATEGORY + : DenyPresetsArticle[data.reason]} +
)}