diff --git a/docs/content/docs/integrations/electron.mdx b/docs/content/docs/integrations/electron.mdx index 2a533cdc8b..a81b0e48ba 100644 --- a/docs/content/docs/integrations/electron.mdx +++ b/docs/content/docs/integrations/electron.mdx @@ -311,7 +311,7 @@ function SignIn({ authClient.signIn.social({ provider: "google", fetchOptions: { query }, // preserve PKCE/state - }); + }) } > Sign in with Google @@ -353,7 +353,7 @@ function Auth() { onClick={() => window.requestAuth({ provider: "google", // sign in with social provider, redirecting directly to the provider - }); + }) } > Sign in with Google diff --git a/docs/content/docs/plugins/polar.mdx b/docs/content/docs/plugins/polar.mdx index 71b8ceaf01..0238ca3284 100644 --- a/docs/content/docs/plugins/polar.mdx +++ b/docs/content/docs/plugins/polar.mdx @@ -207,7 +207,7 @@ If `authenticatedUsersOnly` is `false` - then it will be possible to trigger che This plugin supports the Organization plugin. If you pass the organization ID to the Checkout referenceId, you will be able to keep track of purchases made from organization members. ```typescript -const organizationId = (await authClient.organization.list())?.data?.[0]?.id, +const organizationId = (await authClient.organization.list())?.data?.[0]?.id; await authClient.checkout({ // Any Polar Product ID can be passed here @@ -326,7 +326,7 @@ However, you can pass a `referenceId` to this method. This will return all subsc So in order to figure out if a user should have access, pass the user's organization ID to see if there is an active subscription for that organization. ```typescript -const organizationId = (await authClient.organization.list())?.data?.[0]?.id, +const organizationId = (await authClient.organization.list())?.data?.[0]?.id; const { data: subscriptions } = await authClient.customer.orders.list({ query: {