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

export const commonPopupConfig = [
  {
    name: "Address",
    field: "building_address",
  },
  {
    name: "TP number",
    field: "tp_number",
  },
  {
    name: "Dispatcher center number",
    field: "ods_number",
  },
  {
    name: "Dispatcher phone",
    field: "phone_number",
  }
];
