about summary refs log tree commit diff
diff options
context:
space:
mode:
-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