diff --git a/apps/web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts b/apps/web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts index 3184396972..5201e9d051 100644 --- a/apps/web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts +++ b/apps/web/lib/hooks/settings/platform/oauth-clients/useOAuthClients.ts @@ -77,6 +77,7 @@ export const useGetOAuthClientManagedUsers = (clientId: string) => { headers: { "Content-type": "application/json" }, }).then((res) => res.json()); }, + enabled: Boolean(clientId), }); return { isLoading, error, data: response?.data, refetch };