diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ListCard.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/ListCard.tsx b/src/components/ListCard.tsx index 9061648e0..ed5838fb0 100644 --- a/src/components/ListCard.tsx +++ b/src/components/ListCard.tsx @@ -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(() => { |