Skip to content

Commit

Permalink
chore: remove name from address fields
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 committed Aug 9, 2024
1 parent f5bc2ee commit 0a7b900
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/screens/Order/OrderEntity.res
Original file line number Diff line number Diff line change
Expand Up @@ -949,17 +949,7 @@ let concatValueOfGivenKeysOfDict = (dict, keys) => {
}

let itemToObjMapper = dict => {
let addressKeys = [
"first_name",
"last_name",
"line1",
"line2",
"line3",
"city",
"state",
"country",
"zip",
]
let addressKeys = ["line1", "line2", "line3", "city", "state", "country", "zip"]

let getPhoneNumberString = (phone, ~phoneKey="number", ~codeKey="country_code", ()) => {
`${phone->getString(codeKey, "")} ${phone->getString(phoneKey, "NA")}`
Expand Down

0 comments on commit 0a7b900

Please sign in to comment.