mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-15 17:02:58 +01:00
wip: refactor
This commit is contained in:
@@ -28,7 +28,7 @@ export const MediaListSection: React.FC<Props> = ({ collection, ...props }) => {
|
||||
const { data: popularItems, isLoading: isLoadingPopular } = useQuery<
|
||||
BaseItemDto[]
|
||||
>({
|
||||
queryKey: ["popular", user?.Id],
|
||||
queryKey: [collection.Id, user?.Id],
|
||||
queryFn: async () => {
|
||||
if (!api || !user?.Id || !collection.Id) return [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user