From f755765cc2ad8ea6da82d98ca96ae8635333d821 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 9 Jun 2026 15:21:48 -0500 Subject: [PATCH] Remove handle link, no one is tapping it and it's not great for a11y --- .../StandardSiteEmbed/StandardSiteMetaRow.tsx | 28 ++----------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/src/components/Post/Embed/StandardSiteEmbed/StandardSiteMetaRow.tsx b/src/components/Post/Embed/StandardSiteEmbed/StandardSiteMetaRow.tsx index a6eb4bd403..837f1b4a05 100644 --- a/src/components/Post/Embed/StandardSiteEmbed/StandardSiteMetaRow.tsx +++ b/src/components/Post/Embed/StandardSiteEmbed/StandardSiteMetaRow.tsx @@ -1,12 +1,10 @@ import {Fragment, type ReactNode} from 'react' import {View} from 'react-native' import {AtUri} from '@atproto/api' -import {Trans, useLingui} from '@lingui/react/macro' +import {Trans} from '@lingui/react/macro' -import {makeProfileLink} from '#/lib/routes/links' import {toNiceDomain} from '#/lib/strings/url-helpers' import {atoms as a, useTheme} from '#/alf' -import {InlineLinkText} from '#/components/Link' import { matchStandardSitePublisher, matchStandardSitePublisherByUri, @@ -17,19 +15,15 @@ import { isStandardSitePublicationUri, } from '#/components/Post/Embed/StandardSiteEmbed/utils' import {Text} from '#/components/Typography' -import {useAnalytics} from '#/analytics' export function StandardSiteMetaRow({ type = 'document', - preview, view, }: ssTypes.CommonProps & ssTypes.PreviewProps & { type?: 'document' | 'publication' }) { - const ax = useAnalytics() const t = useTheme() - const {t: l} = useLingui() const highlightedPublisher = !!matchStandardSitePublisher(view) const didsFromRecords = view.associatedRefs @@ -80,25 +74,7 @@ export function StandardSiteMetaRow({ key: 'author', node: ( - - by{' '} - { - e.stopPropagation() - e.preventDefault() - ax.metric('embed:standardSite:authorHandle:press', { - handle: authorProfile.handle, - }) - }}> - @{authorProfile.handle} - - + by @{authorProfile.handle} ), })