From 521a764d4f896518af7f668e2d196b720461ec13 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 12 Feb 2025 19:17:58 +0000 Subject: fix quote & feed padding not being pressable (#7694) --- src/components/ListCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/components/ListCard.tsx') diff --git a/src/components/ListCard.tsx b/src/components/ListCard.tsx index ed5838fb0..9061648e0 100644 --- a/src/components/ListCard.tsx +++ b/src/components/ListCard.tsx @@ -26,6 +26,7 @@ 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 @@ -48,7 +49,7 @@ const MODLIST = 'app.bsky.graph.defs#modlist' type Props = { view: AppBskyGraphDefs.ListView showPinButton?: boolean -} +} & Omit export function Default(props: Props) { const {view, showPinButton} = props @@ -82,7 +83,7 @@ export function Link({ view, children, ...props -}: Props & Omit) { +}: Props & Pick) { const queryClient = useQueryClient() const href = React.useMemo(() => { -- cgit 1.4.1