diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index 5cf2ba96a4..b1200d9c4e 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -45,7 +45,7 @@ export function Default(props: Props) {
- +
@@ -190,7 +190,7 @@ export function Likes({count}: {count: number}) { ) } -export function Action({ +export function SaveButton({ view, pin, }: { @@ -199,10 +199,10 @@ export function Action({ }) { const {hasSession} = useSession() if (!hasSession) return null - return + return } -function ActionInner({ +function SaveButtonInner({ view, pin, }: { diff --git a/src/components/ListCard.tsx b/src/components/ListCard.tsx index c214db6bd7..c0e0d0e255 100644 --- a/src/components/ListCard.tsx +++ b/src/components/ListCard.tsx @@ -8,7 +8,13 @@ import {sanitizeHandle} from 'lib/strings/handles' import {precacheList} from 'state/queries/feed' import {useTheme} from '#/alf' import {atoms as a} from '#/alf' -import {Action, Avatar, Description, Header, Outer} from '#/components/FeedCard' +import { + Avatar, + Description, + Header, + Outer, + SaveButton, +} from '#/components/FeedCard' import {Link as InternalLink, LinkProps} from '#/components/Link' import {Text} from '#/components/Typography' @@ -18,12 +24,12 @@ import {Text} from '#/components/Typography' */ export { - Action, Avatar, AvatarPlaceholder, Description, Header, Outer, + SaveButton, TitleAndBylinePlaceholder, } from '#/components/FeedCard' @@ -48,7 +54,7 @@ export function Default(props: Props) { purpose={view.purpose} /> {showPinButton && view.purpose === CURATELIST && ( - + )}