import{useRef as e,useEffect as r}from"react";import{useFilterStore as t}from"../../stores/filter-store/useFilterStore.js";var n=function(n){var i=t((function(e){var r;return null===(r=e.filters.drillingWells)||void 0===r||r})),o=n.enabled,u=n.store,l=n.queueRef,c=n.clearCache,a=n.clearTiles,s=n.handleBoundsChangeRef,f=e(void 0);r((function(){if(void 0!==f.current&&o){if(f.current!==i){c(),a(),l.current.pending=[],f.current=i;var e=u.getState().bounds;e&&s.current(e)}}else f.current=i}),[i,o,u,c,a,l,s])};export{n as useDrillingFilterResetEffect};
//# sourceMappingURL=useDrillingFilterResetEffect.js.map
