From 3cc6255a7e01645799be7af01de0d7c2ec18832a Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 11 Oct 2017 11:50:11 -0700 Subject: Removed length check which now happens in reducer --- app/javascript/glitch/components/account/header.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/javascript/glitch/components') 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 -- cgit