From 037d7478aff039b2308d6dad6e7fd24f8bac1f3f Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 11 Oct 2017 11:50:11 -0700 Subject: [PATCH] Removed length check which now happens in reducer --- app/javascript/glitch/components/account/header.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/javascript/glitch/components/account/header.js b/app/javascript/glitch/components/account/header.js index 9404ee6a59..6359c1775d 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