@adyen/adyen-platform-experience-web
Version:

12 lines (11 loc) • 355 B
JavaScript
import { useContext as o } from "../../../../external/.pnpm/preact@10.28.2/node_modules/preact/hooks/dist/hooks.module.js";
import { AnalyticsContext as n } from "./AnalyticsContext.js";
const s = () => {
const t = o(n);
if (!t)
throw new Error("Cannot use AnalyticsContext without <AnalyticsProvider>");
return t;
};
export {
s as default
};