fix: Update hashtags when (un)following a hashtag (#35101)
This commit is contained in:
parent
d28a4428b5
commit
b9b1500fc5
6 changed files with 107 additions and 65 deletions
|
|
@ -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' ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue