diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx
index 7f3cb88ff3..47896d4f72 100644
--- a/src/components/FeedCard.tsx
+++ b/src/components/FeedCard.tsx
@@ -33,18 +33,21 @@ import * as Prompt from '#/components/Prompt'
import {RichText} from '#/components/RichText'
import {Text} from '#/components/Typography'
+type CommonProps = {
+ disableDescriptionFacets?: boolean
+}
type Props =
- | {
+ | ({
type: 'feed'
view: AppBskyFeedDefs.GeneratorView
- }
- | {
+ } & CommonProps)
+ | ({
type: 'list'
view: AppBskyGraphDefs.ListView
- }
+ } & CommonProps)
export function Default(props: Props) {
- const {type, view} = props
+ const {type, view, disableDescriptionFacets} = props
const displayName = type === 'feed' ? view.displayName : view.name
const purpose = type === 'list' ? view.purpose : undefined
return (
@@ -60,7 +63,10 @@ export function Default(props: Props) {
/>
-
+
{type === 'feed' && }
@@ -198,16 +204,27 @@ export function TitleAndBylinePlaceholder({creator}: {creator?: boolean}) {
)
}
-export function Description({description}: {description?: string}) {
- const [rt, isResolving] = useRichText(description || '')
+export function Description({
+ description,
+ disableFacets,
+}: {
+ description?: string
+ disableFacets?: boolean
+}) {
if (!description) return null
- return isResolving ? (
+ return disableFacets ? (
) : (
-
+
)
}
+export function DescriptionWithFacets({description}: {description?: string}) {
+ const [rt] = useRichText(description || '')
+ if (!description) return null
+ return
+}
+
export function Likes({count}: {count: number}) {
const t = useTheme()
return (
diff --git a/src/screens/StarterPack/StarterPackLandingScreen.tsx b/src/screens/StarterPack/StarterPackLandingScreen.tsx
index 1c9587a79e..8badfb229d 100644
--- a/src/screens/StarterPack/StarterPackLandingScreen.tsx
+++ b/src/screens/StarterPack/StarterPackLandingScreen.tsx
@@ -266,7 +266,11 @@ function LandingScreenLoaded({
t.atoms.border_contrast_low,
]}
key={feed.uri}>
-
+
))}