({ id }: { id: string })
| 345 | }; |
| 346 | |
| 347 | export const userProfileQueryOptions = ({ id }: { id: string }) => { |
| 348 | return { |
| 349 | queryKey: generateQueryKey( |
| 350 | RequestKey.Profile, |
| 351 | { id }, |
| 352 | { |
| 353 | id, |
| 354 | }, |
| 355 | ), |
| 356 | queryFn: () => getProfile(id), |
| 357 | staleTime: StaleTime.OneHour, |
| 358 | enabled: !!id, |
| 359 | }; |
| 360 | }; |
no test coverage detected