Skip to content

Commit 35cbb93

Browse files
authored
Added missing import in nextjs docs page (#170)
1 parent dd2c84a commit 35cbb93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/pages/authz/nextjs.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ and `POST` or `PUT`
127127
[Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers).
128128

129129
```tsx filename="app/example/page.tsx"
130+
import { convexAuthNextjsToken } from "@convex-dev/auth/nextjs/server";
130131
import { api } from "@/convex/_generated/api";
131132
import { fetchMutation, fetchQuery } from "convex/nextjs";
132133
import { revalidatePath } from "next/cache";

0 commit comments

Comments
 (0)