mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
chore: displaying N/A for 0 server
This commit is contained in:
parent
0eb5004e05
commit
df1c71e021
@ -41,7 +41,7 @@ const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => {
|
|||||||
}
|
}
|
||||||
dark
|
dark
|
||||||
/>
|
/>
|
||||||
<Tag blurple text={<>{formatNumber(bot.servers)} 서버</>} dark />
|
<Tag blurple text={bot.servers ? <>{formatNumber(bot.servers)} 서버</> : 'N/A'} dark />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p className='px-4 text-left text-gray-400 text-sm font-medium mb-10 h-6'>{bot.intro}</p>
|
<p className='px-4 text-left text-gray-400 text-sm font-medium mb-10 h-6'>{bot.intro}</p>
|
||||||
|
|||||||
@ -119,7 +119,7 @@ const Bots: NextPage<BotsProps> = ({ data, date, user, theme, setTheme }) => {
|
|||||||
<div>
|
<div>
|
||||||
<i className='fas fa-users' /> 서버수
|
<i className='fas fa-users' /> 서버수
|
||||||
</div>
|
</div>
|
||||||
<div>{data.servers}</div>
|
<div>{data.servers || 'N/A'}</div>
|
||||||
<div>
|
<div>
|
||||||
<i className='fas fa-calendar-day' /> 봇 생성일
|
<i className='fas fa-calendar-day' /> 봇 생성일
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user