Change author_account to be authors in REST API (#30846)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2024-06-27 13:17:18 +00:00
1 parent 6d1c1fd684
commit 096057b845
9 files changed
+48 -9

No files matched your search

@@ -8,6 +8,10 @@ import { useAppSelector } from 'mastodon/store';
export const AuthorLink = ({ accountId }) => {
const account = useAppSelector(state => state.getIn(['accounts', accountId]));
if (!account) {
return null;
}
return (
<Link to={`/@${account.get('acct')}`} className='story__details__shared__author-link' data-hover-card-account={accountId}>
<Avatar account={account} size={16} />