import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{get as t}from"lodash";import{getCompanyGoals as n}from"../../../../clients/jsonApi/index.js";var o=function(){var o=r(e.mark((function r(o){var a;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n(o);case 3:a=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",a&&t(a,"company_goals")||{});case 10:case"end":return r.stop()}}),r,null,[[0,6]])})));return function(r){return o.apply(this,arguments)}}();export{o as fetchCompanyGoals};
//# sourceMappingURL=fetchCompanyGoals.js.map
