Revert "fix quote & feed padding not being pressable (#7694)" (#7733)

This reverts commit 521a764d4f.
This commit is contained in:
Samuel Newman
2025-02-13 14:56:12 +00:00
committed by GitHub
parent ae8ddc2c41
commit a3f79cc714
3 changed files with 47 additions and 12 deletions
+2 -3
View File
@@ -26,7 +26,6 @@ import {
import {Link as InternalLink, LinkProps} from '#/components/Link'
import * as Hider from '#/components/moderation/Hider'
import {Text} from '#/components/Typography'
import {ButtonProps} from './Button'
/*
* This component is based on `FeedCard` and is tightly coupled with that
@@ -49,7 +48,7 @@ const MODLIST = 'app.bsky.graph.defs#modlist'
type Props = {
view: AppBskyGraphDefs.ListView
showPinButton?: boolean
} & Omit<LinkProps, 'to' | 'label' | 'children'>
}
export function Default(props: Props) {
const {view, showPinButton} = props
@@ -83,7 +82,7 @@ export function Link({
view,
children,
...props
}: Props & Pick<ButtonProps, 'children'>) {
}: Props & Omit<LinkProps, 'to' | 'label'>) {
const queryClient = useQueryClient()
const href = React.useMemo(() => {