Files
ETB/ETB-FrontEnd/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

7 lines
202 B
JavaScript

// Fixes https://github.com/motiondivision/motion/issues/2270
const getContextWindow = ({ current }) => {
return current ? current.ownerDocument.defaultView : null;
};
export { getContextWindow };