fix(auth): clear react query cache on logout and enable home screen refetch

This commit is contained in:
Fredrik Burmester
2026-01-24 10:25:33 +01:00
parent 0e3e8b8016
commit ae5a71ff29
8 changed files with 7 additions and 12 deletions

View File

@@ -109,7 +109,6 @@ const WatchlistSection: React.FC<WatchlistSectionProps> = ({
Boolean(api?.accessToken) &&
Boolean(user?.Id),
staleTime: 5 * 60 * 1000,
refetchOnMount: false,
refetchOnWindowFocus: false,
});
@@ -279,7 +278,6 @@ export const StreamystatsPromotedWatchlists: React.FC<
Boolean(jellyfinServerId) &&
Boolean(user?.Id),
staleTime: 5 * 60 * 1000,
refetchOnMount: false,
refetchOnWindowFocus: false,
});