import {
  UNIT_TYPE_INSTITUTION,
  UNIT_TYPE_EMERGENCY
} from '../../admin/units/shared/constants/units-constants'

import i18n from '../../plugins/i18n'

const parseUnitType = (unitType) => {
  return i18n.t(`unitTypes.${unitType}`)
}
