Is it possible to use useQuery() with useEffect()? - tRPC