From f0a479a163fc44189cc4e9e3f3dab604eedbe98b Mon Sep 17 00:00:00 2001 From: Sanatan Date: Fri, 10 Jan 2025 23:45:14 +0530 Subject: [PATCH] docs: fix expo repeated section (#1175) "Initialize Better Auth Client" is repeating twice --- docs/content/docs/integrations/expo.mdx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/docs/content/docs/integrations/expo.mdx b/docs/content/docs/integrations/expo.mdx index bc3e547b9f..3da5876fc2 100644 --- a/docs/content/docs/integrations/expo.mdx +++ b/docs/content/docs/integrations/expo.mdx @@ -111,22 +111,6 @@ Expo is a popular framework for building cross-platform apps with React Native. ``` - - ## Initialize Better Auth Client - - To initialize Better Auth in your Expo app, you need to call `createAuthClient` with the base url of your Better Auth backend. Make sure to import the client from `/react`. - - ```ts title="src/auth-client.ts" - import { createAuthClient } from "better-auth/react"; - - export const authClient = createAuthClient({ - baseURL: "http://localhost:8081", /* base url of your Better Auth backend. */ - }); - ``` - - Be sure to include the full URL, including the path, if you've changed the default path from `/api/auth`. - - ## Configure Metro Bundler