From 3c320e6100780654395738d5723a4a32c8ff227a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sat, 9 Jan 2021 15:32:52 +0900 Subject: [PATCH] fix: not defined variable bot --- components/BotCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/BotCard.tsx b/components/BotCard.tsx index 57838d3..3d01bbc 100644 --- a/components/BotCard.tsx +++ b/components/BotCard.tsx @@ -77,7 +77,7 @@ const BotCard = ({ bot }: BotProps): JSX.Element => { target="_blank" href={ 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" >