fix: add missing useLazyQuery type

This commit is contained in:
wobsoriano
2023-08-22 10:48:44 -07:00
parent f7eeb104b3
commit 299ae558ab
3 changed files with 26 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ const addTodo = async () => {
}
}
const { data: todos, pending, error, refresh } = await $client.todo.getTodos.useQuery()
const { data: todos, pending, error, refresh } = await $client.todo.getTodos.useLazyQuery()
</script>
<template>