From 0a7b90009f4a346ba30aac4e399639cfe7e0c97e Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran Date: Fri, 9 Aug 2024 12:39:58 +0530 Subject: [PATCH] chore: remove name from address fields --- src/screens/Order/OrderEntity.res | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/screens/Order/OrderEntity.res b/src/screens/Order/OrderEntity.res index 4da1da370..e0af88e41 100644 --- a/src/screens/Order/OrderEntity.res +++ b/src/screens/Order/OrderEntity.res @@ -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")}`