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 6050efb commit 1493fc7Copy full SHA for 1493fc7
1 file changed
integrations/vue-vite/src/App.vue
@@ -1,13 +1,13 @@
1
<script setup>
2
- import { useQuery } from '@tanstack/vue-query'
+import { useQuery } from '@tanstack/vue-query'
3
4
- const { isPending, isError, data } = useQuery({
5
- queryKey: ['test'],
6
- queryFn: async () => {
7
- await new Promise((r) => setTimeout(r, 1000))
8
- return 'Success'
9
- },
10
- })
+const { isPending, isError, data } = useQuery({
+ queryKey: ['test'],
+ queryFn: async () => {
+ await new Promise((r) => setTimeout(r, 1000))
+ return 'Success'
+ },
+})
11
</script>
12
13
<template>
0 commit comments