Update feeds on post created (#2085)

This commit is contained in:
Paul Frazee 2023-12-04 17:58:45 -08:00 committed by GitHub
parent bdb2bfdd83
commit 48f5cebc80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 66 additions and 14 deletions

View file

@ -248,7 +248,7 @@ export function findPostInQueryData(
export function* findAllPostsInQueryData(
queryClient: QueryClient,
uri: string,
): Generator<AppBskyFeedDefs.PostView, void> {
): Generator<AppBskyFeedDefs.PostView, undefined> {
const queryDatas = queryClient.getQueriesData<
InfiniteData<FeedPageUnselected>
>({