Merge pull request #750 from chandiwalaaadhar/fix/work-experience-website-link-redirects-404

Fixed URL 404 issue in Profile Section URL
This commit is contained in:
Amruth Pillai
2022-03-21 08:32:08 +01:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ export const MastheadSidebar: React.FC = () => {
</DataDisplay>
{profiles.map(({ id, username, network, url }) => (
<DataDisplay key={id} icon={getProfileIcon(network)} link={url} className="text-xs">
<DataDisplay key={id} icon={getProfileIcon(network)} link={url && addHttp(url)} className="text-xs">
{username}
</DataDisplay>
))}