diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-13 14:56:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-13 14:56:12 +0000 |
commit | a3f79cc714946b0f6f5d32f3bdf0c4f0df540dac (patch) | |
tree | df2cd2a40a458c3d9f06837e582651c9482cf3fc /src/components/ListCard.tsx | |
parent | ae8ddc2c41178be81f98ede9c8ef5c00be17c011 (diff) | |
download | voidsky-a3f79cc714946b0f6f5d32f3bdf0c4f0df540dac.tar.zst |
This reverts commit 521a764d4f896518af7f668e2d196b720461ec13.
Diffstat (limited to 'src/components/ListCard.tsx')
-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(() => { |