diff --git a/demo/nextjs/lib/auth.ts b/demo/nextjs/lib/auth.ts index e34cad01..3d49bb16 100644 --- a/demo/nextjs/lib/auth.ts +++ b/demo/nextjs/lib/auth.ts @@ -21,6 +21,7 @@ import { nextCookies } from "better-auth/next-js"; import { passkey } from "better-auth/plugins/passkey"; import { stripe } from "@better-auth/stripe"; import { Stripe } from "stripe"; +import { createAuthClient } from "better-auth/react"; const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev"; const to = process.env.TEST_EMAIL || ""; diff --git a/docs/content/changelogs/1-2.mdx b/docs/content/changelogs/1-2.mdx index 2627299f..7ad6c4c1 100644 --- a/docs/content/changelogs/1-2.mdx +++ b/docs/content/changelogs/1-2.mdx @@ -33,10 +33,8 @@ export const auth = betterAuth({ subscription: { // [!code highlight] enabled: true, // [!code highlight] - plans: [ - // [!code highlight] - { - // [!code highlight] + plans: [// [!code highlight] + { // [!code highlight] name: "pro", // [!code highlight] priceId: "price_1234567890", // [!code highlight] }, // [!code highlight]