fix: add formatGender function context

This commit is contained in:
Sérgio Salgado 2021-06-21 19:20:34 +01:00 committed by Josh Harvey
parent 82b7e40220
commit 0acb446000

View file

@ -15,6 +15,7 @@ import { getName } from '../helper'
import Field from './Field'
const formatGender = field => {
// In US cards, gender comes as a number. In BC and ZA cards, gender comes as a letter
const genderMap = {
1: 'M',
2: 'F'