[Glitch] fix: Update hashtags when (un)following a hashtag
Port b9b1500fc5 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
c6a99eaf5b
commit
f7c36f44a4
6 files changed
+107
-65
No files matched your search
@@ -19,7 +19,6 @@ export const ColumnLink: React.FC<{
|
||||
method?: string;
|
||||
badge?: React.ReactNode;
|
||||
transparent?: boolean;
|
||||
optional?: boolean;
|
||||
className?: string;
|
||||
id?: string;
|
||||
}> = ({
|
||||
@@ -34,13 +33,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' ? (
|
||||
|
||||
Reference in new issue
Block a user