(fetcherFn: any, variables: any)
| 37 | } |
| 38 | |
| 39 | const getQueryOptions = (fetcherFn: any, variables: any) => { |
| 40 | return { |
| 41 | queryFn: |
| 42 | variables && variables === ReactQuery.skipToken |
| 43 | ? ReactQuery.skipToken |
| 44 | : (context: QueryFunctionContext) => fetcherFn(variables, context), |
| 45 | queryKey: getFullKey(defaultOptions.queryKey, variables), |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | const getKey = (variables?: any) => |
| 50 | getFullKey(defaultOptions.queryKey, variables) |
no outgoing calls
no test coverage detected
searching dependent graphs…