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.
apiq
1 parent 0b5220a commit 7a8ee0aCopy full SHA for 7a8ee0a
app/api/hooks.ts
@@ -108,7 +108,7 @@ export const getApiQueryOptions =
108
queryOptions({
109
queryKey: [method, params],
110
// no catch, let unexpected errors bubble up
111
- queryFn: ({ signal }) => api[method](params, { signal }).then(handleResult(method)),
+ queryFn: () => api[method](params).then(handleResult(method)),
112
// In the case of 404s, let the error bubble up to the error boundary so
113
// we can say Not Found. If you need to allow a 404 and want it to show
114
// up as `error` state instead, pass `useErrorBoundary: false` as an
0 commit comments