Skip to content

Commit

Permalink
Merge branch 'upgrade_to_v4.3.0' of https://github.com/MitarashiDango…
Browse files Browse the repository at this point in the history
…/mastodon into hota/test/4.3
  • Loading branch information
lindwurm committed Oct 9, 2024
2 parents 4bf6e08 + 7fdbcb2 commit 37550d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/javascript/mastodon/components/hover_card_account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useEffect, forwardRef } from 'react';
import { FormattedMessage } from 'react-intl';

import classNames from 'classnames';
import { Link } from 'react-router-dom';

import { fetchAccount } from 'mastodon/actions/accounts';
import { AccountBio } from 'mastodon/components/account_bio';
Expand All @@ -16,6 +15,7 @@ import { LoadingIndicator } from 'mastodon/components/loading_indicator';
import { ShortNumber } from 'mastodon/components/short_number';
import { domain } from 'mastodon/initial_state';
import { useAppSelector, useAppDispatch } from 'mastodon/store';
import Permalink from './permalink';

export const HoverCardAccount = forwardRef<
HTMLDivElement,
Expand Down Expand Up @@ -49,10 +49,10 @@ export const HoverCardAccount = forwardRef<
>
{account ? (
<>
<Link to={`/@${account.acct}`} className='hover-card__name'>
<Permalink href={account.url} to={`/@${account.acct}`} className='hover-card__name'>
<Avatar account={account} size={46} />
<DisplayName account={account} localDomain={domain} />
</Link>
</Permalink>

<div className='hover-card__text-row'>
<AccountBio
Expand Down

0 comments on commit 37550d7

Please sign in to comment.