Fix stale display names for lists/feeds in top bar across restarts/devices (#10651)

This commit is contained in:
RetroSunstar
2026-06-30 22:10:53 +01:00
committed by GitHub
parent 13ee5df721
commit 0526820506
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ export function usePinnedFeedsInfos() {
pinnedItems.map(f => f.value),
),
gcTime: GCTIME.INFINITY,
staleTime: STALE.INFINITY,
staleTime: STALE.MINUTES.FIFTEEN,
enabled: !isLoadingPrefs,
queryFn: async () => {
if (!hasSession) {
+1
View File
@@ -11,6 +11,7 @@ export const STALE = {
ONE: MINUTE,
THREE: 3 * MINUTE,
FIVE: 5 * MINUTE,
FIFTEEN: 15 * MINUTE,
THIRTY: 30 * MINUTE,
},
HOURS: {