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 49c8684 commit ee530caCopy full SHA for ee530ca
src/lib/api/useApiResource.ts
@@ -20,7 +20,7 @@ export const useApiResource = <T>(
20
21
const { data, error, isLoading, isValidating } = useSWR(
22
disable || resource.path === null ? null : [resource.path, apiConfig, excludeMcpConfig],
23
- ([path, apiConfig]) =>
+ ([path, apiConfig, excludeMcpConfig]) =>
24
fetchApiServerJson<T>(
25
path,
26
excludeMcpConfig ? { ...apiConfig, mcpConfig: undefined } : apiConfig,
0 commit comments