From 70b658ca78fc42eede8a7b43c21ba3bddd72dcdf Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 17 Jun 2021 03:00:53 -0400 Subject: [PATCH] twitter link --- vocodes/src/v2/profile/profile_view/ProfileFc.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vocodes/src/v2/profile/profile_view/ProfileFc.tsx b/vocodes/src/v2/profile/profile_view/ProfileFc.tsx index e30e574257..66deaf0cf1 100644 --- a/vocodes/src/v2/profile/profile_view/ProfileFc.tsx +++ b/vocodes/src/v2/profile/profile_view/ProfileFc.tsx @@ -124,10 +124,18 @@ function ProfileFc(props: Props) { } if (userData !== undefined && userData.twitter_username) { + let twitterUrl = `https://twitter.com/${userData.twitter_username}`; + let twitterLink = ( + @{userData.twitter_username} + ); profileRows.push( Twitter - {userData.twitter_username} + {twitterLink} ) }