Files
klz-cables.com/.pnpm-store/v10/files/74/d11e274839fec4043b9cd9d1b52bef7e6c29221e644f9be1a6a8dc004d8e561729f727d41d3f55c55f7f5ab89880acc3d4d5ac513c7b1232c5fbbf160a049a
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

10 lines
487 B
Plaintext

import React from 'react';
const LazyReactComponentSymbol = Symbol.for('react.lazy');
/**
* Since Next.js 15.4, `React.isValidElement()` returns `false` for components that cross the server-client boundary.
* This utility expands on that check so that it returns true for valid React elements.
*/
export function isValidReactElement(object) {
return React.isValidElement(object) || object?.['$$typeof'] === LazyReactComponentSymbol;
}
//# sourceMappingURL=isValidReactElement.js.map