Back to Clerk

`buildClerkProps` import moved under `/server`

packages/upgrade/src/versions/core-2/nextjs/buildclerkprops-import-change.md

latest394 B
Original Source

The buildClerkProps import path has changed from @clerk/nextjs to @clerk/nextjs/server, as this is a helper that should be only used on the server side. You must update your import path in order for it to work correctly. Example below of the fix that needs to be made:

diff
- import { buildClerkProps } from "@clerk/nextjs"
+ import { buildClerkProps } from "@clerk/nextjs/server"