diff --git a/playground/pages/index.vue b/playground/pages/index.vue index d972881..a10b798 100644 --- a/playground/pages/index.vue +++ b/playground/pages/index.vue @@ -24,7 +24,12 @@ const addTodo = async () => { } } -const { data: todos, pending, error, refresh } = await $client.todo.getTodos.query() +const { data: todos, pending, error, refresh } = await $client.todo.getTodos.query(undefined, { + trpc: { + abortOnUnmount: true, + }, + server: false, +})