Change `useQuery` error type
So that I can access the status codes from the component. Unfortunately Typescript isn't letting me change the error type in the way I expected (see attached image). I get a "No overload matches this call" error.
Any advice would be appreciated
