docs: update file naming example in Next.js integration guide (#6948)

This commit is contained in:
Salih Candir
2025-12-23 11:44:19 +01:00
committed by github-actions[bot]
parent bc8ac2a5fc
commit 088e753ff0

View File

@@ -35,7 +35,7 @@ export default toNodeHandler(auth.handler)
## Create a client
Create a client instance. You can name the file anything you want. Here we are creating `client.ts` file inside the `lib/` directory.
Create a client instance. You can name the file anything you want. Here we are creating `auth-client.ts` file inside the `lib/` directory.
```ts title="auth-client.ts"
import { createAuthClient } from "better-auth/react" // make sure to import from better-auth/react