diff --git a/web/src/app/admin/lightning-distribution/page.tsx b/web/src/app/admin/lightning-distribution/page.tsx index 8901917..778c639 100644 --- a/web/src/app/admin/lightning-distribution/page.tsx +++ b/web/src/app/admin/lightning-distribution/page.tsx @@ -45,6 +45,7 @@ import type { LightningImportBatchSummary, LightningImportBatchListResponse, LightningImportBatchEventsResponse, + LightningImportBatchEventItem, } from "@/types/auth"; type ImportFormValues = { @@ -781,7 +782,7 @@ function EventsModal({ batch: LightningImportBatchSummary | null; open: boolean; onClose: () => void; - fetchWithAuth: (input: RequestInfo, init?: RequestInit) => Promise; + fetchWithAuth: (path: string, init?: RequestInit, retryOnUnauthorized?: boolean) => Promise; }) { const eventsQuery = useQuery({ queryKey: [ @@ -909,7 +910,7 @@ function ScatterModal({ batch: LightningImportBatchSummary | null; open: boolean; onClose: () => void; - fetchWithAuth: (input: RequestInfo, init?: RequestInit) => Promise; + fetchWithAuth: (path: string, init?: RequestInit, retryOnUnauthorized?: boolean) => Promise; distributionFilters: DistributionFilterValues; }) { const distributionStatsPath = useMemo(() => {