Skip to content

Commit

Permalink
chore(*): Update import paths for app-router (#3155)
Browse files Browse the repository at this point in the history
  • Loading branch information
panteliselef authored Apr 9, 2024
1 parent 2cabc27 commit ea53ffa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/early-geese-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion playground/app-router/src/app/action/page.tsx
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion playground/app-router/src/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { authMiddleware } from '@clerk/nextjs';
import { authMiddleware } from '@clerk/nextjs/server';
import { NextMiddleware, NextResponse } from 'next/server';

const clerkMiddleware = authMiddleware()
Expand Down

0 comments on commit ea53ffa

Please sign in to comment.