import{useRef as r,useEffect as e}from"react";import{useFilterStore as t}from"../../stores/filter-store/useFilterStore.js";var l=function(l){var o=t((function(r){var e;return null===(e=r.filters.drillingWells)||void 0===e||e})),i=l.clearCache,n=l.clearTiles,c=l.loadAllWells,u=l.hasLoadedRef,a=r(void 0);e((function(){void 0!==a.current?a.current!==o&&(i(),n(),u.current=!1,a.current=o,c()):a.current=o}),[o,i,n,c,u])};export{l as useDrillingFilterChangeEffect};
//# sourceMappingURL=useDrillingFilterChangeEffect.js.map
