Files
2026-04-09 13:19:47 -05: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 };