diff --git a/docs/content/docs/integrations/expo.mdx b/docs/content/docs/integrations/expo.mdx index e6f5440d41..bc3e547b9f 100644 --- a/docs/content/docs/integrations/expo.mdx +++ b/docs/content/docs/integrations/expo.mdx @@ -71,7 +71,7 @@ Expo is a popular framework for building cross-platform apps with React Native. import { expoClient } from "@better-auth/expo/client"; import * as SecureStore from "expo-secure-store"; - const authClient = createAuthClient({ + export const authClient = createAuthClient({ baseURL: "http://localhost:8081", /* base url of your Better Auth backend. */ plugins: [ expoClient({ @@ -119,7 +119,7 @@ Expo is a popular framework for building cross-platform apps with React Native. ```ts title="src/auth-client.ts" import { createAuthClient } from "better-auth/react"; - const authClient = createAuthClient({ + export const authClient = createAuthClient({ baseURL: "http://localhost:8081", /* base url of your Better Auth backend. */ }); ```