"use strict";

export const transformArrayToObject = array => {
  return array.reduce((acc, item) => {
    acc[item.language] = item;
    return acc;
  }, {});
};
//# sourceMappingURL=transformTranslatations.js.map