diff options
Diffstat (limited to 'vnext/src/components/UserInfo.js')
-rw-r--r-- | vnext/src/components/UserInfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js index c190770b..c8565cbf 100644 --- a/vnext/src/components/UserInfo.js +++ b/vnext/src/components/UserInfo.js @@ -87,10 +87,10 @@ export function UserLink(props) { useEffect(() => { setUser(props.user); isMounted = true; - if (!user.uid && !user.uname && user.uri) { + if (!user.uid && user.uri) { fetchUserUri(user.uri).then(response => { if (isMounted) { - setUser(response.data); + setUser({...response.data, uid: 66666666}); } }); } |