mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Merge pull request #125 from arifszn/124-company-mention-with-space-is-not-working-as-link
Trim company name in details section
This commit is contained in:
@@ -93,8 +93,8 @@ const Details = ({ profile, loading, social, github }) => {
|
||||
title="Company:"
|
||||
value={profile.company}
|
||||
link={
|
||||
isCompanyMention(profile.company)
|
||||
? companyLink(profile.company)
|
||||
isCompanyMention(profile.company.trim())
|
||||
? companyLink(profile.company.trim())
|
||||
: null
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user