diff --git a/app/entry.server.tsx b/app/entry.server.tsx index 8b9ff03c..996c3631 100644 --- a/app/entry.server.tsx +++ b/app/entry.server.tsx @@ -29,9 +29,7 @@ export default async function handleRequest( ], }); - const namespaces = extractNamespaces( - context.routeModules as EntryContext['routeModules'], - ); + const namespaces = extractNamespaces(remixContext.routeModules); await initI18nServer( context.storefront.i18n.language.toLowerCase(),