"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("../../stores/filter-store/useFilterStore.js");exports.useDrillingFilterChangeEffect=function(t){var l=r.useFilterStore((function(e){var r;return null===(r=e.filters.drillingWells)||void 0===r||r})),i=t.clearCache,u=t.clearTiles,s=t.loadAllWells,n=t.hasLoadedRef,c=e.useRef(void 0);e.useEffect((function(){void 0!==c.current?c.current!==l&&(i(),u(),n.current=!1,c.current=l,s()):c.current=l}),[l,i,u,s,n])};
//# sourceMappingURL=useDrillingFilterChangeEffect.js.map
