fix: not defined variable bot

This commit is contained in:
원더 2021-01-09 15:32:52 +09:00
parent 3b627915f6
commit 3c320e6100

View File

@ -77,7 +77,7 @@ const BotCard = ({ bot }: BotProps): JSX.Element => {
target="_blank" target="_blank"
href={ href={
bot.url ?? bot.url ??
`https://discordapp.com/oauth2/authorize?client_id=${data.id}&scope=bot&permissions=0` `https://discordapp.com/oauth2/authorize?client_id=${bot.id}&scope=bot&permissions=0`
} }
className="bg py-3 w-full text-center text-discord-blurple hover:text-white text-sm font-bold hover:bg-discord-blurple hover:shadow-lg" className="bg py-3 w-full text-center text-discord-blurple hover:text-white text-sm font-bold hover:bg-discord-blurple hover:shadow-lg"
> >