From dd2e173514b9aa22b898c5539f4f83f10d9b09f4 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 25 Jun 2024 17:43:41 -0500 Subject: Add back pin action for feed cards (#4643) --- src/components/FeedCard.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index ecf0a1b91..e0fc7ef54 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -233,7 +233,11 @@ export function Action({ purpose?: AppBskyGraphDefs.ListView['purpose'] }) { const {hasSession} = useSession() - if (!hasSession || purpose !== 'app.bsky.graph.defs#curatelist') return null + if ( + !hasSession || + (type === 'list' && purpose !== 'app.bsky.graph.defs#curatelist') + ) + return null return } -- cgit 1.4.1