()
| 3 | |
| 4 | |
| 5 | async function getPosts() { |
| 6 | const { data } = await axios.get( |
| 7 | 'https://jsonplaceholder.typicode.com/posts' |
| 8 | ) |
| 9 | return data |
| 10 | } |
| 11 | |
| 12 | const usePosts = () => { |
| 13 | return useQuery< |
nothing calls this directly
no test coverage detected
searching dependent graphs…