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
|
||||
/>
|
||||
<Tag blurple text={<>{formatNumber(bot.servers)} 서버</>} dark />
|
||||
<Tag blurple text={bot.servers ? <>{formatNumber(bot.servers)} 서버</> : 'N/A'} dark />
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
<i className='fas fa-users' /> 서버수
|
||||
</div>
|
||||
<div>{data.servers}</div>
|
||||
<div>{data.servers || 'N/A'}</div>
|
||||
<div>
|
||||
<i className='fas fa-calendar-day' /> 봇 생성일
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user