diff --git a/app/soapbox/features/account/components/header.js b/app/soapbox/features/account/components/header.js index d49614c0a..b878bc254 100644 --- a/app/soapbox/features/account/components/header.js +++ b/app/soapbox/features/account/components/header.js @@ -19,8 +19,6 @@ import { } from 'soapbox/utils/accounts'; import classNames from 'classnames'; import Avatar from 'soapbox/components/avatar'; -import { shortNumberFormat } from 'soapbox/utils/numbers'; -import { NavLink } from 'react-router-dom'; import DropdownMenuContainer from 'soapbox/containers/dropdown_menu_container'; import ProfileInfoPanel from '../../ui/components/profile_info_panel'; import { debounce } from 'lodash'; @@ -341,40 +339,6 @@ class Header extends ImmutablePureComponent { -
- - - {shortNumberFormat(account.get('statuses_count'))} - - - - {(ownAccount || !account.getIn(['pleroma', 'hide_follows'], false)) && - {account.getIn(['pleroma', 'hide_follows_count'], false) ? : {shortNumberFormat(account.get('following_count'))}} - - } - - {(ownAccount || !account.getIn(['pleroma', 'hide_followers'], false)) && - {account.getIn(['pleroma', 'hide_followers_count'], false) ? : {shortNumberFormat(account.get('followers_count'))}} - - } - - {(ownAccount || !account.getIn(['pleroma', 'hide_favorites'], true)) && - { /* : TODO : shortNumberFormat(account.get('favourite_count')) */ } - - - } - - {ownAccount && - - { /* : TODO : shortNumberFormat(account.get('pinned_count')) */ } - - - - } -
- { isSmallScreen &&