From 28b607cef7b07b677679705029614d85d0c4d11d Mon Sep 17 00:00:00 2001 From: victoria Date: Fri, 18 Oct 2024 20:47:35 +0200 Subject: [PATCH] (references/nextjs/clerk-middleware) add return back to intlMiddleware (#1635) --- docs/references/nextjs/clerk-middleware.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/nextjs/clerk-middleware.mdx b/docs/references/nextjs/clerk-middleware.mdx index d3d09155f6..062b45faef 100644 --- a/docs/references/nextjs/clerk-middleware.mdx +++ b/docs/references/nextjs/clerk-middleware.mdx @@ -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 = {