From 340c2c5eaf4666bd064f69d3520e7bc2b6cfa8c2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 24 Jun 2024 19:06:04 -0500 Subject: [PATCH] Resolve facets in feed description on feed lander (#4628) --- src/view/screens/ProfileFeed.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/screens/ProfileFeed.tsx b/src/view/screens/ProfileFeed.tsx index 30f8dbeb..17d1214b 100644 --- a/src/view/screens/ProfileFeed.tsx +++ b/src/view/screens/ProfileFeed.tsx @@ -53,6 +53,7 @@ import * as Toast from 'view/com/util/Toast' import {CenteredView} from 'view/com/util/Views' import {atoms as a, useTheme} from '#/alf' import {Button as NewButton, ButtonText} from '#/components/Button' +import {useRichText} from '#/components/hooks/useRichText' import {ArrowOutOfBox_Stroke2_Corner0_Rounded as Share} from '#/components/icons/ArrowOutOfBox' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' import { @@ -518,6 +519,7 @@ function AboutSection({ const {mutateAsync: likeFeed, isPending: isLikePending} = useLikeMutation() const {mutateAsync: unlikeFeed, isPending: isUnlikePending} = useUnlikeMutation() + const [resolvedRT] = useRichText(feedInfo.description.text || '') const isLiked = !!likeUri const likeCount = @@ -553,7 +555,7 @@ function AboutSection({ ) : (