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

@@ -103,7 +103,6 @@ export const StreamystatsRecommendations: React.FC<Props> = ({
Boolean(jellyfinServerId) &&
Boolean(user?.Id),
staleTime: 5 * 60 * 1000, // 5 minutes
refetchOnMount: false,
refetchOnWindowFocus: false,
});
@@ -136,7 +135,6 @@ export const StreamystatsRecommendations: React.FC<Props> = ({
enabled:
Boolean(recommendationIds?.length) && Boolean(api) && Boolean(user?.Id),
staleTime: 5 * 60 * 1000,
refetchOnMount: false,
refetchOnWindowFocus: false,
});