(q?: string)
| 17 | import type { LoaderFunctionArgs } from 'react-router-dom' |
| 18 | |
| 19 | const contactListQuery = (q?: string) => |
| 20 | queryOptions({ |
| 21 | queryKey: ['contacts', 'list', q ?? 'all'], |
| 22 | queryFn: () => getContacts(q), |
| 23 | }) |
| 24 | |
| 25 | export const loader = |
| 26 | (queryClient: QueryClient) => |
no test coverage detected
searching dependent graphs…