We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d2f81 commit d75ce8bCopy full SHA for d75ce8b
examples/optimistic-updates-typescript/pages/index.tsx
@@ -39,7 +39,7 @@ async function fetchTodos(): Promise<TodoData> {
39
function useTodos<TData = TodoData>(
40
options?: UseQueryOptions<TData, AxiosError, TodoData>
41
) {
42
- return useQuery<TData, AxiosError, TodoData>('todos', fetchTodos, options)
+ return useQuery('todos', fetchTodos, options)
43
}
44
45
function TodoCounter() {
0 commit comments