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

51 lines
978 B
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx } from "react/jsx-runtime";
import { Hamburger, useNav } from '@payloadcms/ui';
import React from 'react';
/**
* @internal
*/
export const NavHamburger = t0 => {
const $ = _c(6);
const {
baseClass
} = t0;
const {
navOpen,
setNavOpen
} = useNav();
const t1 = `${baseClass}__mobile-close`;
let t2;
if ($[0] !== setNavOpen) {
t2 = () => {
setNavOpen(false);
};
$[0] = setNavOpen;
$[1] = t2;
} else {
t2 = $[1];
}
const t3 = !navOpen ? -1 : undefined;
let t4;
if ($[2] !== t1 || $[3] !== t2 || $[4] !== t3) {
t4 = _jsx("button", {
className: t1,
onClick: t2,
tabIndex: t3,
type: "button",
children: _jsx(Hamburger, {
isActive: true
})
});
$[2] = t1;
$[3] = t2;
$[4] = t3;
$[5] = t4;
} else {
t4 = $[5];
}
return t4;
};
//# sourceMappingURL=index.js.map