mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-29 20:06:29 +01:00
fix(auth): clear react query cache on logout and enable home screen refetch
This commit is contained in:
@@ -44,7 +44,6 @@ export const ScrollingCollectionList: React.FC<Props> = ({
|
||||
queryKey: queryKey,
|
||||
queryFn,
|
||||
staleTime: 60 * 1000, // 1 minute
|
||||
refetchOnMount: false,
|
||||
refetchOnWindowFocus: false,
|
||||
refetchOnReconnect: true,
|
||||
enabled: enableLazyLoading ? isInView : true,
|
||||
|
||||
Reference in New Issue
Block a user