Jack Herrington (jherr)J
Convex Communityโ€ข3y agoโ€ข
7 replies
Jack Herrington (jherr)

ConvexProviderWithClerk not providing convex client

I looked through the code and it seems to be doing the right thing. But I've had to add another ConvexProvider to get the useQuery and useMutation hooks to work.

    <ClerkProvider publishableKey="...">
      <ConvexProviderWithClerk client={convex}>
        <ConvexProvider client={convex}>
          <App />
        </ConvexProvider>
      </ConvexProviderWithClerk>
    </ClerkProvider>
Was this page helpful?