diff --git a/.changeset/early-geese-kiss.md b/.changeset/early-geese-kiss.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/early-geese-kiss.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/playground/app-router/src/app/action/page.tsx b/playground/app-router/src/app/action/page.tsx index 4871e7fbe4..a143b30183 100644 --- a/playground/app-router/src/app/action/page.tsx +++ b/playground/app-router/src/app/action/page.tsx @@ -1,4 +1,4 @@ -import { auth, currentUser } from '@clerk/nextjs'; +import { auth, currentUser } from '@clerk/nextjs/server'; export default function AddToCart() { async function addItem(data: any) { diff --git a/playground/app-router/src/middleware.ts b/playground/app-router/src/middleware.ts index 6010f58b82..c2fcb31098 100644 --- a/playground/app-router/src/middleware.ts +++ b/playground/app-router/src/middleware.ts @@ -1,4 +1,4 @@ -import { authMiddleware } from '@clerk/nextjs'; +import { authMiddleware } from '@clerk/nextjs/server'; import { NextMiddleware, NextResponse } from 'next/server'; const clerkMiddleware = authMiddleware()