export const getRegionNameById = (id, normalizedRegions) =>
  normalizedRegions?.[id]?.name ?? id;

export const commonPopupConfig = [
  {
    name: "Адрес",
    field: "building_address",
  },
  {
    name: "Номер ТП",
    field: "tp_number",
  },
  {
    name: "Номер ОДС",
    field: "ods_number",
  },
  {
    name: "Телефон ОДС",
    field: "phone_number",
  }
];
