diff options
Diffstat (limited to 'vnext/src/ui')
-rw-r--r-- | vnext/src/ui/Thread.js | 4 | ||||
-rw-r--r-- | vnext/src/ui/UserInfo.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js index a290acd7..4982daed 100644 --- a/vnext/src/ui/Thread.js +++ b/vnext/src/ui/Thread.js @@ -53,8 +53,8 @@ function Comment({ msg, draft, visitor, active, setActive, onStartEditing, postC if (isMounted) { setAuthor({ uid: 0, - uname: remote_user.data.preferredUsername, - avatar: remote_user.data.icon && remote_user.data.icon.url, + uname: remote_user.preferredUsername, + avatar: remote_user.icon && remote_user.icon.url, uri: author.uri }); } diff --git a/vnext/src/ui/UserInfo.js b/vnext/src/ui/UserInfo.js index 9a663829..9239c58c 100644 --- a/vnext/src/ui/UserInfo.js +++ b/vnext/src/ui/UserInfo.js @@ -104,8 +104,8 @@ export function UserLink(props) { if (isMounted) { setUser({ uid: 0, - uname: remote_user.data.preferredUsername, - avatar: remote_user.data.icon && remote_user.data.icon.url, + uname: remote_user.preferredUsername, + avatar: remote_user.icon && remote_user.icon.url, uri: userRef.current.uri }); } |