mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-27 01:16:55 -05:00
docs: update file naming example in Next.js integration guide (#6948)
This commit is contained in:
committed by
github-actions[bot]
parent
bc8ac2a5fc
commit
088e753ff0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user