aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/UserInfo.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/UserInfo.js')
-rw-r--r--vnext/src/components/UserInfo.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js
index 19b2f82b..835bbace 100644
--- a/vnext/src/components/UserInfo.js
+++ b/vnext/src/components/UserInfo.js
@@ -77,15 +77,15 @@ export function UserLink(props) {
setUser(response.data);
}
});
- return () => {
- isMounted = false;
- };
}
+ return () => {
+ isMounted = false;
+ };
}, [props.user, user.uid, user.uri]);
return (
user.uid ?
<Link key={user.uid} to={`/${user.uname}/`} className="info-avatar"><img src={user.avatar}/>{user.uname}</Link>
- : <a href={user.uri}><img src={user.avatar}/>{user.uname}</a>
+ : <a href={user.uri} className="info-avatar"><img src={user.avatar}/>{user.uname}</a>
);
}