aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Avatar.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/Avatar.js')
-rw-r--r--vnext/src/ui/Avatar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Avatar.js b/vnext/src/ui/Avatar.js
index dda5449f..ecce4e9f 100644
--- a/vnext/src/ui/Avatar.js
+++ b/vnext/src/ui/Avatar.js
@@ -24,7 +24,7 @@ function Avatar({ user, style, link, children}) {
</div>
<div style={{ display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>
<span>
- <Link to={{ pathname: `/${user.uname}/` }}>
+ <Link to={{ pathname: link || `/${user.uname}/` }}>
<span>{user.uname}</span>
</Link>
</span>