Files
klz-cables.com/.pnpm-store/v10/files/cc/87c419053e2db09c364eb7a739d16f016578a8f8a68b32adee80812c0aceb8cc4179608e70869c2f06dbff2cb39a27b9e24b6b84ca624d034fcdc4a2e8cd3d
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

19 lines
418 B
Plaintext

import { cache } from 'react';
// See https://github.com/vercel/next.js/discussions/58862
function getCacheImpl() {
const value = {
locale: undefined
};
return value;
}
const getCache = cache(getCacheImpl);
function getCachedRequestLocale() {
return getCache().locale;
}
function setCachedRequestLocale(locale) {
getCache().locale = locale;
}
export { getCachedRequestLocale, setCachedRequestLocale };