Bluesky app fork with some witchin' additions 💫

Resolve facets in feed description on feed lander (#4628)

authored by

Eric Bailey and committed by
GitHub
340c2c5e 795fe745

+3 -1
+3 -1
src/view/screens/ProfileFeed.tsx
··· 53 53 import {CenteredView} from 'view/com/util/Views' 54 54 import {atoms as a, useTheme} from '#/alf' 55 55 import {Button as NewButton, ButtonText} from '#/components/Button' 56 + import {useRichText} from '#/components/hooks/useRichText' 56 57 import {ArrowOutOfBox_Stroke2_Corner0_Rounded as Share} from '#/components/icons/ArrowOutOfBox' 57 58 import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' 58 59 import { ··· 518 519 const {mutateAsync: likeFeed, isPending: isLikePending} = useLikeMutation() 519 520 const {mutateAsync: unlikeFeed, isPending: isUnlikePending} = 520 521 useUnlikeMutation() 522 + const [resolvedRT] = useRichText(feedInfo.description.text || '') 521 523 522 524 const isLiked = !!likeUri 523 525 const likeCount = ··· 553 555 <RichText 554 556 testID="listDescription" 555 557 style={[a.text_md]} 556 - value={feedInfo.description} 558 + value={resolvedRT ?? feedInfo.description} 557 559 /> 558 560 ) : ( 559 561 <Text type="lg" style={[{fontStyle: 'italic'}, pal.textLight]}>