import{useCallback as t}from"react";import{useAssetsFetch as e}from"./useAssetsFetch.js";import{useAssetsFilter as s}from"./useAssetsFilter.js";var r=function(r,o,a,n,i){var c=null!=i&&i.companyId&&i.companyId.length>0?i.companyId:a,m=e(r,o,c),u=m.assetsData,l=m.isFetching,p=m.hasMore,h=m.loadMore,f=m.maybeAutoFetch,F=s(u,o,n,i,c,f),d=F.searchResult,y=F.isFiltering,g=t((function(){h(y)}),[h,y]);return[l||y,d,p,g]};export{r as useAssetsData};
//# sourceMappingURL=useAssetsData.js.map
