dashboard/frontend/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
2025-12-16 08:16:27 +09:00

6 lines
202 B
JavaScript

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