Skip to content

Commit

Permalink
chore:
Browse files Browse the repository at this point in the history
  • Loading branch information
skinmaker1345 committed Sep 24, 2023
1 parent 4c3041b commit 42374d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/bots/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const Bots: NextPage<BotsProps> = ({ data, desc, date, user, theme, csrfToken })
</div>
)
}
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category : null}</div>
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category as string: null}</div>
<h3 className='font-bold mt-2'>설명</h3>
<p className='text-gray-400 text-sm mb-1'>신고하시는 내용을 자세하게 설명해주세요.</p>
<TextArea name='description' placeholder='최대한 자세하게 설명해주세요!' theme={theme === 'dark' ? 'dark' : 'light'} value={values.description} setValue={(value) => setFieldValue('description', value)} />
Expand Down
2 changes: 1 addition & 1 deletion pages/bots/[id]/report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ReportBot: NextPage<ReportBotProps> = ({ data, user, csrfToken }) => {
</div>
)
}
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category : null}</div>
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category as string: null}</div>
{
values.category && <>
{
Expand Down
2 changes: 1 addition & 1 deletion pages/servers/[id]/report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ReportServer: NextPage<ReportServerProps> = ({ data, user, csrfToken }) =>
</div>
)
}
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category : null}</div>
<div className='mt-1 text-red-500 text-xs font-light'>{errors.category && touched.category ? errors.category as string : null}</div>
{
values.category && <>
{
Expand Down

0 comments on commit 42374d5

Please sign in to comment.