"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../permissions/usePermissions.js"),r=require("../../../permissions/constants/index.js");require("@babel/runtime/helpers/slicedToArray"),require("../../../permissions/withPermissionsHOC.js"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react"),require("../../../clients/jsonApi/index.js"),require("../../../permissions/ProvidePermissions.js"),require("../../../permissions/PermissionsContext.js");exports.useCompanySelectorPermission=function(){var i=e({canViewCompanies:r.PERMISSIONS.companySelectorView}).canViewCompanies;return{canViewCompanies:i.active,canViewCompaniesLoading:i.loading}};
//# sourceMappingURL=useCompanySelectorPermission.js.map
