fix: add formatGender function context
This commit is contained in:
parent
82b7e40220
commit
0acb446000
1 changed files with 1 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue