Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update clerkClient import path #928

Closed
willalread opened this issue Apr 20, 2024 · 1 comment
Closed

Update clerkClient import path #928

willalread opened this issue Apr 20, 2024 · 1 comment

Comments

@willalread
Copy link

willalread commented Apr 20, 2024

In the Upgrading to Core 2 Next.js SDK guide, clerkClient is not listed in the "Changes to top-level exports" section under the list of exports that have moved from @clerk/nextjs to @clerk/nextjs/server.
https://clerk.com/docs/upgrade-guides/core-2/nextjs#changes-to-top-level-exports

It is currently listed incorrectly in the "Deleting users" section of the Users docs under the Next.js tab as still,
import { clerkClient } from "@clerk/nextjs";
https://clerk.com/docs/users/deleting-users

However, it is listed correctly in the "Overview" section of the Backend SDK docs under the Next.js tab as,
import { clerkClient } from "@clerk/nextjs/server";
https://clerk.com/docs/references/backend/overview

@alexisintech
Copy link
Member

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants