diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 0bfec933..c3e4fc6a 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -39,8 +39,9 @@ "ADD_STATE_CODE": "Code", "NAME_REQUIRED": "Name is Required", "CODE_REQUIRED": "Code is Required", - "CODE_NOTIFICATION": "Code should contain exactly 2 uppercase letters", - "USER_DELETE_SUCCSSFULLY": "User deleted Successfully" + "CODE_NOTIFICATION": "Code Should Be Fill With Captial Letters", + "USER_DELETE_SUCCSSFULLY": "User deleted Successfully", + "STATE_NAME": "State Name" }, "LOGIN_PAGE": { "USERNAME": "Username", diff --git a/src/components/AddStateModal.tsx b/src/components/AddStateModal.tsx index 9311d5ce..e6f4bdbc 100644 --- a/src/components/AddStateModal.tsx +++ b/src/components/AddStateModal.tsx @@ -44,7 +44,6 @@ const AddStateModal: React.FC = ({ const { t } = useTranslation(); useEffect(() => { - // Update form fields if initialValues change setName(initialValues.name || ""); setValue(initialValues.value || ""); setNameError(null); @@ -87,7 +86,7 @@ const AddStateModal: React.FC = ({ = ({ - -