docs: fix incorrect rendering of default tab value (#4411)

This commit is contained in:
KinfeMichael Tariku
2025-09-04 02:23:38 +03:00
committed by GitHub
parent 6468fe87c5
commit 0090b22b7d
2 changed files with 2 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ Once a user is signed in, you'll want to access the user session. Better Auth al
Better Auth provides a `useSession` hook to easily access session data on the client side. This hook is implemented using nanostore and has support for each supported framework and vanilla client, ensuring that any changes to the session (such as signing out) are immediately reflected in your UI.
<Tabs items={["React", "Vue","Svelte", "Solid", "Vanilla"]} defaultValue="React">
<Tabs items={["React", "Vue","Svelte", "Solid", "Vanilla"]} defaultValue="react">
<Tab value="React">
```tsx title="user.tsx"
import { authClient } from "@/lib/auth-client" // import the auth client // [!code highlight]

View File

@@ -89,7 +89,7 @@ On top of normal methods, the client provides hooks to easily access different r
**Example: useSession**
<Tabs items={["React", "Vue","Svelte", "Solid"]} defaultValue="React">
<Tabs items={["React", "Vue","Svelte", "Solid"]} defaultValue="react">
<Tab value="React">
```tsx title="user.tsx"
//make sure you're using the react client