fix: Update hashtags when (un)following a hashtag (#35101)

This commit is contained in:
diondiondion 2025-06-23 13:44:59 +02:00 committed by GitHub
commit b9b1500fc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 107 additions and 65 deletions

View file

@ -16,7 +16,6 @@ export const ColumnLink: React.FC<{
method?: string;
badge?: React.ReactNode;
transparent?: boolean;
optional?: boolean;
className?: string;
id?: string;
}> = ({
@ -30,13 +29,11 @@ export const ColumnLink: React.FC<{
method,
badge,
transparent,
optional,
...other
}) => {
const match = useRouteMatch(to ?? '');
const className = classNames('column-link', {
'column-link--transparent': transparent,
'column-link--optional': optional,
});
const badgeElement =
typeof badge !== 'undefined' ? (