We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa6903 commit 390e8d2Copy full SHA for 390e8d2
1 file changed
packages/shared/src/react/hooks/useOAuthConsent.tsx
@@ -72,6 +72,13 @@ export function useOAuthConsent(params: UseOAuthConsentParams = {}): UseOAuthCon
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
+ });
82
83
const query = useClerkQuery({
84
queryKey,
0 commit comments