Files
klz-cables.com/.pnpm-store/v10/files/1d/53d26cb1c628c83e82fd0b59af8758f754426788bd10facc5e6d7fd4d5e0867512b91b0d4466ff56d635225c00aa7417ca2675c0906d7ff9ae3af04ee6db76
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

9 lines
352 B
Plaintext

/*
return the Locale for given locale code, else return null
*/export const findLocaleFromCode = (localizationConfig, locale) => {
if (!localizationConfig?.locales || localizationConfig.locales.length === 0) {
return null;
}
return localizationConfig.locales.find(el => el?.code === locale);
};
//# sourceMappingURL=findLocaleFromCode.js.map