Tweak feed card to prevent spinnerz when pushing to screen (#4600)
This commit is contained in:
@@ -578,7 +578,7 @@ function precacheFeed(queryClient: QueryClient, hydratedFeed: FeedSourceInfo) {
|
||||
)
|
||||
}
|
||||
|
||||
function precacheList(
|
||||
export function precacheList(
|
||||
queryClient: QueryClient,
|
||||
list: AppBskyGraphDefs.ListView,
|
||||
) {
|
||||
@@ -588,3 +588,11 @@ function precacheList(
|
||||
list,
|
||||
)
|
||||
}
|
||||
|
||||
export function precacheFeedFromGeneratorView(
|
||||
queryClient: QueryClient,
|
||||
view: AppBskyFeedDefs.GeneratorView,
|
||||
) {
|
||||
const hydratedFeed = hydrateFeedGenerator(view)
|
||||
precacheFeed(queryClient, hydratedFeed)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user