import{useContext as o}from"react";import{SharedLayoutContext as t,FramerTreeLayoutContext as r,isSharedLayout as e}from"../../../context/SharedLayoutContext.js";import{useIsomorphicLayoutEffect as i}from"../../../utils/use-isomorphic-effect.js";function m(m){var n=o(t),f=o(r);i((function(){return function(){e(n)&&n.remove(m),e(f)&&f.remove(m)}}),[])}export{m as useSnapshotOnUnmount};
//# sourceMappingURL=use-snapshot-on-unmount.js.map
