Skip to content

Commit

Permalink
(references/nextjs/clerk-middleware) add return back to intlMiddleware (
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriaxyz authored Oct 18, 2024
1 parent 592842d commit 28b607c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/references/nextjs/clerk-middleware.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const isProtectedRoute = createRouteMatcher(['dashboard/(.*)'])
export default clerkMiddleware((auth, req) => {
if (isProtectedRoute(req)) auth().protect()

intlMiddleware(req)
return intlMiddleware(req)
})

export const config = {
Expand Down

0 comments on commit 28b607c

Please sign in to comment.