diff --git a/playground/pages/index.vue b/playground/pages/index.vue index dc208fb..f116ae6 100644 --- a/playground/pages/index.vue +++ b/playground/pages/index.vue @@ -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()