Skip to content

Commit a05a393

Browse files
try2beth3b3staseryakov
andauthored
Fix useAsyncQuery options (#668)
Co-authored-by: aseryakov <aseryakov@vgtrk.ru>
1 parent 5cc5d0e commit a05a393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/composables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const prep = <T> (...args: any[]) => {
139139
context = firstArg.context!
140140
clientId = firstArg.clientId
141141

142-
if (typeof args?.[1] === 'object' && args?.[1] !== null && 'watch' in args[1]) {
142+
if (typeof args?.[1] === 'object' && args?.[1] !== null) {
143143
options = args?.[1]
144144
}
145145
} else {

0 commit comments

Comments
 (0)