We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 390e8d2 commit bf85e96Copy full SHA for bf85e96
1 file changed
packages/shared/src/react/hooks/useOAuthConsent.tsx
@@ -71,14 +71,7 @@ export function useOAuthConsent(params: UseOAuthConsentParams = {}): UseOAuthCon
71
});
72
73
const hasClientId = oauthClientId.length > 0;
74
- const queryEnabled = Boolean(user) && hasClientId && enabled && clerk.loaded && !!clerk.oauthApplication;
75
- console.log('queryEnabled', {
76
- user: Boolean(user),
77
- hasClientId,
78
- enabled,
79
- clerkLoaded: clerk.loaded,
80
- hasOAuthApplication: !!clerk.oauthApplication,
81
- });
+ const queryEnabled = Boolean(user) && hasClientId && enabled && clerk.loaded;
82
83
const query = useClerkQuery({
84
queryKey,
0 commit comments