Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { useCurationManagementPermission } from "@/hooks/useCurationManagementPe
import { useDropCurationMembershipMutation } from "@/hooks/drops/useDropCurationMembershipMutation";
import useDeviceInfo from "@/hooks/useDeviceInfo";
import useIsTouchDevice from "@/hooks/useIsTouchDevice";
import { useWaveDrops } from "@/hooks/useWaveDrops";
import { useWaveCurationDrops } from "@/hooks/useWaveCurationDrops";
import type { ApiWave } from "@/generated/models/ApiWave";
import { XMarkIcon } from "@heroicons/react/24/outline";
import { useCallback, useMemo, type ReactNode } from "react";
Expand Down Expand Up @@ -136,8 +136,8 @@ export default function MyStreamWaveCurationContent({
}: MyStreamWaveCurationContentProps) {
const { leaderboardViewStyle } = useLayout();
const { drops, fetchNextPage, hasNextPage, isFetching, isFetchingNextPage } =
useWaveDrops({
waveId: wave.id,
useWaveCurationDrops({
wave,
curationId,
});
const permissionProbeDropId = drops[0]?.id ?? "";
Expand All @@ -154,7 +154,7 @@ export default function MyStreamWaveCurationContent({
return;
}

void fetchNextPage();
fetchNextPage().catch(() => undefined);
},
[fetchNextPage, hasNextPage, isFetchingNextPage]
);
Expand Down
Loading
Loading