about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-10-11 11:50:11 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-10-11 11:50:11 -0700
commit3cc6255a7e01645799be7af01de0d7c2ec18832a (patch)
treecfa51c6989bb82ff434c057a80adcdae8c053540 /app
parent35e2cad4eb32649ddc674f209b41e4440de5113b (diff)
Removed length check which now happens in reducer
Diffstat (limited to 'app')
-rw-r--r--app/javascript/glitch/components/account/header.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/glitch/components/account/header.js b/app/javascript/glitch/components/account/header.js
index 9404ee6a5..6359c1775 100644
--- a/app/javascript/glitch/components/account/header.js
+++ b/app/javascript/glitch/components/account/header.js
@@ -121,10 +121,6 @@ then we set the `displayName` to just be the `username` of the account.
     let actionBtn   = '';
     let following   = false;
 
-    if (displayName.length === 0) {
-      displayName = account.get('username');
-    }
-
 /*
 
 Next, we handle the account relationships. If the account follows the