()
| 10 | } |
| 11 | |
| 12 | const usePosts = () => { |
| 13 | return useQuery< |
| 14 | { id: string; title: string; body: string }[], |
| 15 | AxiosError |
| 16 | >('posts', getPosts) |
| 17 | } |
| 18 | |
| 19 | export default usePosts |
nothing calls this directly
no test coverage detected
searching dependent graphs…