Skip to content

Commit

Permalink
feat: show category preset if "카테고리" in deny reason (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunwoo1104 authored Jul 24, 2024
1 parent 0a087d0 commit 1703eb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/pendingBots/[id]/[date].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ const PendingBot: NextPage<PendingBotProps> = ({ data }) => {
{BotSubmissionDenyReasonPresetsName[data.reason] || data.reason}
</strong>
</p>
<div className='pt-2'>{DenyPresetsArticle[data.reason]}</div>
<div className='pt-2'>
{data.reason.includes('카테고리')
? DenyPresetsArticle.INVALID_CATEGORY
: DenyPresetsArticle[data.reason]}
</div>
</>
)}
<div className='pt-2'>
Expand Down

0 comments on commit 1703eb1

Please sign in to comment.