import i from"../../../permissions/usePermissions.js";import{PERMISSIONS as e}from"../../../permissions/constants/index.js";import"@babel/runtime/helpers/slicedToArray";import"../../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"react";import"../../../clients/jsonApi/index.js";import"../../../permissions/ProvidePermissions.js";import"../../../permissions/PermissionsContext.js";var s=function(){var s=i({canViewCompanies:e.companySelectorView}).canViewCompanies;return{canViewCompanies:s.active,canViewCompaniesLoading:s.loading}};export{s as useCompanySelectorPermission};
//# sourceMappingURL=useCompanySelectorPermission.js.map
