From 49509840aacd5f1d4e55516f737b1b36a04d6113 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 3 Aug 2022 18:37:43 +0600 Subject: [PATCH] Trim company name in details section --- src/components/details/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index 2008240..47d2d13 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -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 } />