mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
fix: error causing at custom git url
This commit is contained in:
parent
22c8249a3c
commit
3252d37e50
@ -154,8 +154,8 @@ const PendingBot: NextPage<PendingBotProps> = ({ data }) => {
|
|||||||
className='hover:underline'
|
className='hover:underline'
|
||||||
href={data.git}
|
href={data.git}
|
||||||
>
|
>
|
||||||
<i className={`fab fa-${git?.[new URL(data.git).hostname].icon ?? 'git-alt'}`} />
|
<i className={`fab fa-${git[new URL(data.git).hostname]?.icon ?? 'git-alt'}`} />
|
||||||
{git?.[new URL(data.git).hostname].text ?? 'Git'}
|
{git[new URL(data.git).hostname]?.text ?? 'Git'}
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user