Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add labels in feed card (#4836)

authored by

Eric Bailey and committed by
GitHub
35165e3d 1d827ceb

+7 -3
+7 -3
src/components/FeedCard.tsx
··· 40 40 export function Default(props: Props) { 41 41 const {view} = props 42 42 return ( 43 - <Link label={view.displayName} {...props}> 43 + <Link {...props}> 44 44 <Outer> 45 45 <Header> 46 46 <Avatar src={view.avatar} /> ··· 58 58 view, 59 59 children, 60 60 ...props 61 - }: Props & Omit<LinkProps, 'to'>) { 61 + }: Props & Omit<LinkProps, 'to' | 'label'>) { 62 62 const queryClient = useQueryClient() 63 63 64 64 const href = React.useMemo(() => { ··· 70 70 }, [view, queryClient]) 71 71 72 72 return ( 73 - <InternalLink to={href} style={[a.flex_col]} {...props}> 73 + <InternalLink 74 + label={view.displayName} 75 + to={href} 76 + style={[a.flex_col]} 77 + {...props}> 74 78 {children} 75 79 </InternalLink> 76 80 )