From 3252d37e502f6c5e73066b7b7ca0175d72b5286b Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Fri, 2 Jul 2021 22:49:53 +0900 Subject: [PATCH] fix: error causing at custom git url --- pages/pendingBots/[id]/[date].tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/pendingBots/[id]/[date].tsx b/pages/pendingBots/[id]/[date].tsx index c3f26e0..1aaea46 100644 --- a/pages/pendingBots/[id]/[date].tsx +++ b/pages/pendingBots/[id]/[date].tsx @@ -154,8 +154,8 @@ const PendingBot: NextPage = ({ data }) => { className='hover:underline' href={data.git} > - - {git?.[new URL(data.git).hostname].text ?? 'Git'} + + {git[new URL(data.git).hostname]?.text ?? 'Git'} )}