diff --git a/presenter/renderer/+onBeforeRoute.ts b/presenter/renderer/+onBeforeRoute.ts index 3341bd3987..626930f25e 100644 --- a/presenter/renderer/+onBeforeRoute.ts +++ b/presenter/renderer/+onBeforeRoute.ts @@ -3,7 +3,6 @@ import { PageContext } from 'vike/types' import { extractLocale } from '#root/locales/extractLocale' export function onBeforeRoute(pageContext: PageContext) { - const { urlWithoutLocale, locale } = extractLocale(pageContext.urlPathname) return {