import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{sortBy as t}from"lodash";import{getCompanies as n}from"../../../../clients/jsonApi/index.js";var o=function(){var o=r(e.mark((function r(){var o;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n();case 3:o=r.sent,r.next=9;break;case 6:r.prev=6,r.t0=r.catch(0),console.error(r.t0);case 9:return r.abrupt("return",o?t(o,["name"]):[]);case 10:case"end":return r.stop()}}),r,null,[[0,6]])})));return function(){return o.apply(this,arguments)}}();export{o as fetchCompanies};
//# sourceMappingURL=fetchCompanies.js.map
