mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 12:27:44 +00:00
chore: fix docs highlighting
This commit is contained in:
@@ -21,6 +21,7 @@ import { nextCookies } from "better-auth/next-js";
|
|||||||
import { passkey } from "better-auth/plugins/passkey";
|
import { passkey } from "better-auth/plugins/passkey";
|
||||||
import { stripe } from "@better-auth/stripe";
|
import { stripe } from "@better-auth/stripe";
|
||||||
import { Stripe } from "stripe";
|
import { Stripe } from "stripe";
|
||||||
|
import { createAuthClient } from "better-auth/react";
|
||||||
|
|
||||||
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
|
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
|
||||||
const to = process.env.TEST_EMAIL || "";
|
const to = process.env.TEST_EMAIL || "";
|
||||||
|
|||||||
@@ -33,10 +33,8 @@ export const auth = betterAuth({
|
|||||||
subscription: {
|
subscription: {
|
||||||
// [!code highlight]
|
// [!code highlight]
|
||||||
enabled: true, // [!code highlight]
|
enabled: true, // [!code highlight]
|
||||||
plans: [
|
plans: [// [!code highlight]
|
||||||
// [!code highlight]
|
{ // [!code highlight]
|
||||||
{
|
|
||||||
// [!code highlight]
|
|
||||||
name: "pro", // [!code highlight]
|
name: "pro", // [!code highlight]
|
||||||
priceId: "price_1234567890", // [!code highlight]
|
priceId: "price_1234567890", // [!code highlight]
|
||||||
}, // [!code highlight]
|
}, // [!code highlight]
|
||||||
|
|||||||
Reference in New Issue
Block a user