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

22 lines
652 B
Plaintext

import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, use } from 'react';
export const DocumentDrawerCallbacksContext = /*#__PURE__*/createContext({});
export const DocumentDrawerContextProvider = ({
children,
...rest
}) => {
return /*#__PURE__*/_jsx(DocumentDrawerCallbacksContext, {
value: {
...rest
},
children: children
});
};
export const useDocumentDrawerContext = () => {
const context = use(DocumentDrawerCallbacksContext);
if (!context) {
throw new Error('useDocumentDrawerContext must be used within a DocumentDrawerProvider');
}
return context;
};
//# sourceMappingURL=Provider.js.map