mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-12 23:42:55 +01:00
fix(auth): clear react query cache on logout and enable home screen refetch
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user