Removed length check which now happens in reducer

master
kibigo! 7 years ago
parent 35e2cad4eb
commit 3cc6255a7e
  1. 4
      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

Loading…
Cancel
Save