Skip to content

Commit

Permalink
[Glitch] Fix account.jsx imports (mastodon#25541)
Browse files Browse the repository at this point in the history
Port remaining part of e0d230f to glitch-soc

Signed-off-by: Claire <[email protected]>
  • Loading branch information
takayamaki authored and ClearlyClaire committed Dec 2, 2023
1 parent f555e17 commit 385946c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/javascript/flavours/glitch/components/account.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import classNames from 'classnames';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';

import { counterRenderer } from 'flavours/glitch/components/common_counter';

import { EmptyAccount } from 'flavours/glitch/components/empty_account';
import ShortNumber from 'flavours/glitch/components/short_number';
import { VerifiedBadge } from 'flavours/glitch/components/verified_badge';
Expand All @@ -17,6 +15,7 @@ import { me } from '../initial_state';

import { Avatar } from './avatar';
import Button from './button';
import { FollowersCounter } from './counters';
import { DisplayName } from './display_name';
import { IconButton } from './icon_button';
import Permalink from './permalink';
Expand Down Expand Up @@ -162,7 +161,7 @@ class Account extends ImmutablePureComponent {
<DisplayName account={account} />
{!minimal && (
<div className='account__details'>
<ShortNumber value={account.get('followers_count')} renderer={counterRenderer('followers')} /> {verification} {muteTimeRemaining}
<ShortNumber value={account.get('followers_count')} renderer={FollowersCounter} /> {verification} {muteTimeRemaining}
</div>
)}
</div>
Expand Down

0 comments on commit 385946c

Please sign in to comment.