diff --git a/web-marketplace/src/utils/sanity/getLocalizedData.ts b/web-marketplace/src/utils/sanity/getLocalizedData.ts index 1e88102f49..4c4eef98cd 100644 --- a/web-marketplace/src/utils/sanity/getLocalizedData.ts +++ b/web-marketplace/src/utils/sanity/getLocalizedData.ts @@ -5,7 +5,6 @@ type Params = { export const getLocalizedData = ({ data, languageCode }: Params) => { const localizedData = data.filter(data => data.language === languageCode); - const defaultData = data.filter(data => !data.language); - return localizedData.length > 0 ? localizedData : defaultData; + return localizedData.length > 0 ? localizedData : data; };