diff --git a/vocodes/src/v2/NewTopNavFc.tsx b/vocodes/src/v2/NewTopNavFc.tsx index 6ddf937a0d..1aaf68dfc8 100644 --- a/vocodes/src/v2/NewTopNavFc.tsx +++ b/vocodes/src/v2/NewTopNavFc.tsx @@ -12,7 +12,8 @@ function NewTopNavFc(props: Props) { if (props.sessionWrapper.isLoggedIn()) { let username = props.sessionWrapper.getUsername(); - myDataLink = `/profile/${username}/data`; + //myDataLink = `/profile/${username}/data`; + myDataLink = `/profile/${username}`; } return ( @@ -34,9 +35,12 @@ function NewTopNavFc(props: Props) { >Upload
+ {/*Pending*/} Pending + >My Data
= []; + + if (userData !== undefined && userData.twitch_username) { + profileRows.push( + + Twitch + {userData.twitch_username} + + ) + } + + if (userData !== undefined && userData.twitter_username) { + profileRows.push( + + Twitter + {userData.twitter_username} + + ) + } + return (

@@ -96,6 +117,14 @@ function ProfileFc(props: Props) {

Profiles are a work in progress.

+
+ + + + {profileRows} + +
+