Use same source for pinned feeds on Home and tab/sidebars (#2235)

This commit is contained in:
Eric Bailey 2023-12-18 16:42:37 -06:00 committed by GitHub
parent 8df4fd4d57
commit 14c77255dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -249,6 +249,7 @@ export function usePinnedFeedsInfos(): {
// these requests can fail, need to filter those out
try {
return await queryClient.fetchQuery({
staleTime: STALE.SECONDS.FIFTEEN,
queryKey: feedSourceInfoQueryKey({uri}),
queryFn: async () => {
const type = getFeedTypeFromUri(uri)