Remove the first letter(@) from the twitter url (#400)

This commit is contained in:
Cristian Granda 2020-01-15 08:10:05 -05:00 committed by Andrew Luca
parent 1ec561ed7a
commit 05ab331cb6

View file

@ -60,7 +60,7 @@ export default function Person({ person, currentTag }) {
{person.twitter && (
<TwitterHandle>
<a
href={`https://twitter.com/${person.twitter}`}
href={`https://twitter.com/${person.twitter.replace('@', '')}`}
target="_blank"
rel="noopener noreferrer"
>