mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
fix: causing error on other git url
ISSUE: https://sentry.io/share/issue/a13341dc1aab4e5aa994fee8857afff7/
This commit is contained in:
parent
7e1157603b
commit
0809bed1de
@ -278,8 +278,8 @@ const Bots: NextPage<BotsProps> = ({ data, desc, date, user, theme, csrfToken })
|
|||||||
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