diff --git a/bskyembed/src/components/embed.tsx b/bskyembed/src/components/embed.tsx index 1ed107b5..3b4f5e77 100644 --- a/bskyembed/src/components/embed.tsx +++ b/bskyembed/src/components/embed.tsx @@ -372,7 +372,7 @@ function VideoEmbed({content}: {content: AppBskyEmbedVideo.View}) { return (
+ {% include "scripts.html" %} diff --git a/package.json b/package.json index 2029a165..d981b67c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bsky.app", - "version": "1.91.0-zio24257", + "version": "1.91.0-zio24255", "private": true, "engines": { "node": ">=18" @@ -52,7 +52,7 @@ "open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web" }, "dependencies": { - "@atproto/api": "^0.13.7", + "@atproto/api": "0.13.5", "@bam.tech/react-native-image-resizer": "^3.0.4", "@braintree/sanitize-url": "^6.0.2", "@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet", diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 286ded13..5031f584 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -60,13 +60,16 @@ function CardOuter({ export function SuggestedFollowPlaceholder() { const t = useTheme() return ( - + - - + + + + + ) } @@ -173,14 +176,9 @@ function useExperimentalSuggestedUsersQuery() { } export function SuggestedFollows({feed}: {feed: FeedDescriptor}) { - const {currentAccount} = useSession() - const [feedType, feedUriOrDid] = feed.split('|') + const [feedType, feedUri] = feed.split('|') if (feedType === 'author') { - if (currentAccount?.did === feedUriOrDid) { - return null - } else { - return - } + return } else { return } @@ -199,7 +197,6 @@ export function SuggestedFollowsProfile({did}: {did: string}) { isSuggestionsLoading={isSuggestionsLoading} profiles={data?.suggestions ?? []} error={error} - viewContext="profile" /> ) } @@ -215,7 +212,6 @@ export function SuggestedFollowsHome() { isSuggestionsLoading={isSuggestionsLoading} profiles={profiles} error={error} - viewContext="feed" /> ) } @@ -224,12 +220,10 @@ export function ProfileGrid({ isSuggestionsLoading, error, profiles, - viewContext = 'feed', }: { isSuggestionsLoading: boolean profiles: AppBskyActorDefs.ProfileViewDetailed[] error: Error | null - viewContext: 'profile' | 'feed' }) { const t = useTheme() const {_} = useLingui() @@ -286,7 +280,7 @@ export function ProfileGrid({ shape="round" /> - + )} @@ -303,31 +297,33 @@ export function ProfileGrid({ return ( - - - {viewContext === 'profile' ? ( - Similar accounts - ) : ( - Suggested for you - )} + + + Suggested for you - + {gtMobile ? ( - - + + {content} - + - + {content}