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