about summary refs log tree commit diff
path: root/src/state/cache
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-04 18:44:02 -0500
committerGitHub <noreply@github.com>2025-04-04 16:44:02 -0700
commitaca89d4aea61a50697187464e88ac1b9a4ef40bd (patch)
treee7f7459996b9ea3815bc909e7f0a154ad1961a58 /src/state/cache
parenta0ff9b52aad3349b24118a0222e0f3d78e695887 (diff)
downloadvoidsky-aca89d4aea61a50697187464e88ac1b9a4ef40bd.tar.zst
[Explore] New suggested follows endpoint (#8130)
* Bump SDK

* Integrate new endpoint, add profile shadow, For You tab

* Format
Diffstat (limited to 'src/state/cache')
-rw-r--r--src/state/cache/profile-shadow.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/cache/profile-shadow.ts b/src/state/cache/profile-shadow.ts
index 84ebc565c..82ee44388 100644
--- a/src/state/cache/profile-shadow.ts
+++ b/src/state/cache/profile-shadow.ts
@@ -19,6 +19,7 @@ import {findAllProfilesInQueryData as findAllProfilesInProfileQueryData} from '#
 import {findAllProfilesInQueryData as findAllProfilesInProfileFollowersQueryData} from '#/state/queries/profile-followers'
 import {findAllProfilesInQueryData as findAllProfilesInProfileFollowsQueryData} from '#/state/queries/profile-follows'
 import {findAllProfilesInQueryData as findAllProfilesInSuggestedFollowsQueryData} from '#/state/queries/suggested-follows'
+import {findAllProfilesInQueryData as findAllProfilesInSuggestedUsersQueryData} from '#/state/queries/trending/useGetSuggestedUsersQuery'
 import type * as bsky from '#/types/bsky'
 import {castAsShadow, type Shadow} from './types'
 
@@ -149,6 +150,7 @@ function* findProfilesInCache(
   yield* findAllProfilesInProfileQueryData(queryClient, did)
   yield* findAllProfilesInProfileFollowersQueryData(queryClient, did)
   yield* findAllProfilesInProfileFollowsQueryData(queryClient, did)
+  yield* findAllProfilesInSuggestedUsersQueryData(queryClient, did)
   yield* findAllProfilesInSuggestedFollowsQueryData(queryClient, did)
   yield* findAllProfilesInActorSearchQueryData(queryClient, did)
   yield* findAllProfilesInListConvosQueryData(queryClient, did)