diff options
author | Eric Bailey <git@esb.lol> | 2025-01-21 15:56:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 21:56:01 +0000 |
commit | 9df5caf3c545a7a1c559c6561625d99154aa0603 (patch) | |
tree | 3f7a1b2fdb6fb7628e22b79a978b762cccdd200e /src/view/com/feeds | |
parent | c8d062f1aef130e13a99892e7bb695b1e123c3db (diff) | |
download | voidsky-9df5caf3c545a7a1c559c6561625d99154aa0603.tar.zst |
Update hashtag menu to use `Menu`, convert to native link for additional a11y and click handling (#7529)
* Make tag a normal link on web * Replace old TagMenu with new RichTextTag component, expand and improve click utils * Clarify intents * Ensure we're passing down hint * ope * DRY
Diffstat (limited to 'src/view/com/feeds')
-rw-r--r-- | src/view/com/feeds/FeedSourceCard.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/feeds/FeedSourceCard.tsx b/src/view/com/feeds/FeedSourceCard.tsx index a59148889..b0b608f17 100644 --- a/src/view/com/feeds/FeedSourceCard.tsx +++ b/src/view/com/feeds/FeedSourceCard.tsx @@ -17,7 +17,6 @@ import {usePalette} from '#/lib/hooks/usePalette' import {sanitizeHandle} from '#/lib/strings/handles' import {s} from '#/lib/styles' import {logger} from '#/logger' -import {shouldClickOpenNewTab} from '#/platform/urls' import {FeedSourceInfo, useFeedSourceInfoQuery} from '#/state/queries/feed' import { useAddSavedFeedsMutation, @@ -29,6 +28,7 @@ import {FeedLoadingPlaceholder} from '#/view/com/util/LoadingPlaceholder' import * as Toast from '#/view/com/util/Toast' import {useTheme} from '#/alf' import {atoms as a} from '#/alf' +import {shouldClickOpenNewTab} from '#/components/Link' import * as Prompt from '#/components/Prompt' import {RichText} from '#/components/RichText' import {Text} from '../util/text/Text' |