import{u as p,eK as G,dm as f,bf as h,r as m}from"./index-CK33qGU_.js";const S=(e,a,t)=>{const{computationTime:s}=p(),{currentData:o}=G({fsId:t}),{currentData:c,isFetching:r,refetch:i}=f({pId:e,fsId:t,fgId:a}),u=h(),n=m.useCallback(()=>{u.featureGroupStatistics.clear(),i(),o&&t&&!r&&u.featureGroupStatistics.fetch({projectId:+e,featureStoreId:t,featureGroupId:+a,computationTime:s})},[u.featureGroupStatistics,i,o,t,r,e,a,s]);return{data:c,isLoading:r||!c,fetchData:n}};export{S as u};
