From 35165e3d9b150a57e19194e67321ddcb7815bfa7 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 25 Jul 2024 18:07:42 -0500 Subject: [PATCH] Add labels in feed card (#4836) --- src/components/FeedCard.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index 82d675a8..e6d664cf 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -40,7 +40,7 @@ type Props = { export function Default(props: Props) { const {view} = props return ( - +
@@ -58,7 +58,7 @@ export function Link({ view, children, ...props -}: Props & Omit) { +}: Props & Omit) { const queryClient = useQueryClient() const href = React.useMemo(() => { @@ -70,7 +70,11 @@ export function Link({ }, [view, queryClient]) return ( - + {children} )