From 19527cd055ea8bb40da4d8829b90e194afaa4353 Mon Sep 17 00:00:00 2001 From: Multinite <145994855+Multinite@users.noreply.github.com> Date: Sat, 4 Jan 2025 03:42:07 +1000 Subject: [PATCH] docs(fix): added `export` to authClient definition - expo (#1111) --- docs/content/docs/integrations/expo.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. */ }); ```