Files
GNX-mailEnterprise/frontend/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

7 lines
194 B
JavaScript

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