From fcc4c3374d85b33755f852bcc559db0a8eb5115a Mon Sep 17 00:00:00 2001 From: Blaster4385 Date: Thu, 25 Aug 2022 11:44:08 +0530 Subject: Misc changes and add more translation --- client/src/pages/Update/Address/Address.jsx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'client/src/pages/Update/Address') diff --git a/client/src/pages/Update/Address/Address.jsx b/client/src/pages/Update/Address/Address.jsx index 0af60a5..39d3f13 100644 --- a/client/src/pages/Update/Address/Address.jsx +++ b/client/src/pages/Update/Address/Address.jsx @@ -55,28 +55,18 @@ const Address = () => { setEditable2(!editable2) } + const description = ['UPDATE_THE_REQUIRED_DETAILS_IN_THE_RELEVANT_FIELDS_BY_CLICKING_THE_EDIT_BUTTON', 'IF_REQUIRED_SELECT_THE_STATE_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST', 'IF_REQUIRED_SELECT_THE_DISTRICT_YOU_BELONG_TO_FROM_THE_DROPDOWN_LIST_THIS_WONT_SHOW_ANY_OPTIONS_UNTIL_YOU_HAVE_SELECTED_THE_STATE'] + return ( <>
    -
  • - Update the required details in the relevant fields by clicking - the edit button -
  • -
  • - If required, select the state you belong to. from the dropdown - list -
  • -
  • - If required, select the district you belong to. from the - dropdown list. This won't show any options until you have - selected the state -
  • + {description.map((item) => (
  • {t(item)}
  • ))}
} -- cgit