From 60be39ed886bf50b73077fbe1d8b4dbef4d7ebf4 Mon Sep 17 00:00:00 2001 From: Daniel Gent Date: Mon, 23 Aug 2021 19:17:01 +0200 Subject: [PATCH] Remove es locale. --- framework/shopify/api/operations/get-all-pages.ts | 2 +- next.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/shopify/api/operations/get-all-pages.ts b/framework/shopify/api/operations/get-all-pages.ts index 58bc6a94b..c5c26fb9a 100644 --- a/framework/shopify/api/operations/get-all-pages.ts +++ b/framework/shopify/api/operations/get-all-pages.ts @@ -38,7 +38,7 @@ export default function getAllPagesOperation({ preview?: boolean query?: string } = {}): Promise { - const { fetch, locale, locales = ['en-US', 'es'] } = commerce.getConfig( + const { fetch, locale, locales = ['en-US'] } = commerce.getConfig( config ) diff --git a/next.config.js b/next.config.js index 515b2ae7c..721fe46e4 100644 --- a/next.config.js +++ b/next.config.js @@ -14,7 +14,7 @@ const isVendure = provider === 'vendure' module.exports = withCommerceConfig({ commerce, i18n: { - locales: ['en-US', 'es'], + locales: ['en-US'], defaultLocale: 'en-US', }, rewrites() {