mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
feat: respect user added abort signal
This commit is contained in:
@@ -49,8 +49,8 @@ function createNuxtProxyDecoration<TRouter extends AnyRouter>(name: string, clie
|
||||
}
|
||||
|
||||
return useAsyncDataWithError(queryKey, () => (client as any)[path][lastArg](input, {
|
||||
...trpc,
|
||||
signal: controller?.signal,
|
||||
...trpc,
|
||||
}), asyncDataOptions)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user