diff --git a/src/renderer/lib/react-query.ts b/src/renderer/lib/react-query.ts index 387596b1c..497163919 100644 --- a/src/renderer/lib/react-query.ts +++ b/src/renderer/lib/react-query.ts @@ -57,7 +57,7 @@ export type QueryOptions = { cacheTime?: UseQueryOptions['cacheTime']; enabled?: UseQueryOptions['enabled']; onError?: (err: any) => void; - onSuccess?: (data: TResponse) => void; + onSuccess?: (data: any) => void; refetchInterval?: number; refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground']; refetchOnWindowFocus?: boolean;