Skip to content

Commit

Permalink
fix(www): fix links with null in template-contributor-page.js (#19852)
Browse files Browse the repository at this point in the history
  • Loading branch information
muescha authored and pieh committed Nov 28, 2019
1 parent cb1b4aa commit b075706
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions www/src/templates/template-contributor-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ class ContributorPageTemplate extends React.Component {
>
{contributor.bio}
</p>
<a href={`https://twitter.com/${contributor.twitter}`}>
{` `}
{contributor.twitter}
</a>
{contributor.twitter && (
<a href={`https://twitter.com/${contributor.twitter}`}>
{` `}
{contributor.twitter}
</a>
)}
</div>
</div>
<div sx={{ py: 7, px: 6 }}>
Expand Down

0 comments on commit b075706

Please sign in to comment.