Skip to content

Commit 14b261f

Browse files
docs: add crossDomain import to expo web guide (#150)
1 parent 0ca0000 commit 14b261f

File tree

1 file changed

+4
-1
lines changed
  • docs/content/docs/framework-guides

1 file changed

+4
-1
lines changed

docs/content/docs/framework-guides/expo.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,10 @@ Add the site URL and the cross-domain plugin to the Better Auth instance.
300300

301301
```ts title="convex/auth.ts"
302302
import { createClient, type GenericCtx } from "@convex-dev/better-auth";
303-
import { convex } from "@convex-dev/better-auth/plugins";
303+
import {
304+
convex,
305+
crossDomain // [!code ++]
306+
} from "@convex-dev/better-auth/plugins";
304307
import { betterAuth } from "better-auth";
305308
import { expo } from "@better-auth/expo";
306309
import { components } from "./_generated/api";

0 commit comments

Comments
 (0)