From 06fcd60ad20f58fc95d28b2c48ce3b4deeba5ff2 Mon Sep 17 00:00:00 2001 From: aseryakov Date: Sat, 29 Nov 2025 23:02:13 +0300 Subject: [PATCH] Fix useAsyncQuery options --- src/runtime/composables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/composables.ts b/src/runtime/composables.ts index 49d40264..b1906f8e 100644 --- a/src/runtime/composables.ts +++ b/src/runtime/composables.ts @@ -139,7 +139,7 @@ const prep = (...args: any[]) => { context = firstArg.context! clientId = firstArg.clientId - if (typeof args?.[1] === 'object' && args?.[1] !== null && 'watch' in args[1]) { + if (typeof args?.[1] === 'object' && args?.[1] !== null) { options = args?.[1] } } else {