From 41138c67a0aa8b9e7e9f14f4f022c30109156bf9 Mon Sep 17 00:00:00 2001 From: J8118 Date: Fri, 10 Apr 2026 11:15:04 +0400 Subject: [PATCH] Fix doubled words in locale-check route comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix "we still are still" → "we are still" and "the the locale" → "the locale" in comment block. --- packages/cli/assets/routes/locale-check.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/assets/routes/locale-check.ts b/packages/cli/assets/routes/locale-check.ts index 75019a0e3c..202ee1cccc 100644 --- a/packages/cli/assets/routes/locale-check.ts +++ b/packages/cli/assets/routes/locale-check.ts @@ -7,8 +7,8 @@ export async function loader({params, context}: LoaderFunctionArgs) { params.locale && params.locale.toLowerCase() !== `${language}-${country}`.toLowerCase() ) { - // If the locale URL param is defined, yet we still are still at the default locale - // then the the locale param must be invalid, send to the 404 page + // If the locale URL param is defined, yet we are still at the default locale + // then the locale param must be invalid, send to the 404 page throw new Response(null, {status: 404}); }