diff --git a/src/components/forms/CreateUnitsForm.js b/src/components/forms/CreateUnitsForm.js index 861fcc1a..666a4f17 100644 --- a/src/components/forms/CreateUnitsForm.js +++ b/src/components/forms/CreateUnitsForm.js @@ -46,7 +46,6 @@ const CreateUnitsForm = withRouter(({ onClose }) => { }; const [newUnits, setNewUnits] = useState({ - warehouseUnitId: '', unitBlockStart: '', unitBlockEnd: '', countryJuridictionOfOwner: '', @@ -108,29 +107,6 @@ const CreateUnitsForm = withRouter(({ onClose }) => { - - - - - - - - - setNewUnits(prev => ({ - ...prev, - warehouseUnitId: value, - })) - } - /> - - diff --git a/src/components/forms/EditUnitsForm.js b/src/components/forms/EditUnitsForm.js index b06b7704..b1150ed3 100644 --- a/src/components/forms/EditUnitsForm.js +++ b/src/components/forms/EditUnitsForm.js @@ -45,7 +45,6 @@ const EditUnitsForm = ({ data, onClose }) => { useEffect(() => { setEditUnits({ - warehouseUnitId: data.warehouseUnitId, unitBlockStart: data.unitBlockStart, unitBlockEnd: data.unitBlockEnd, countryJuridictionOfOwner: data.countryJuridictionOfOwner, @@ -110,29 +109,6 @@ const EditUnitsForm = ({ data, onClose }) => { - - - - - - - - - setEditUnits(prev => ({ - ...prev, - warehouseUnitId: value, - })) - } - /> - - @@ -225,6 +201,8 @@ const EditUnitsForm = ({ data, onClose }) => { /> + +
@@ -271,8 +249,6 @@ const EditUnitsForm = ({ data, onClose }) => { /> - -
diff --git a/src/pages/Units/index.js b/src/pages/Units/index.js index d91f8989..207b2775 100644 --- a/src/pages/Units/index.js +++ b/src/pages/Units/index.js @@ -33,7 +33,6 @@ import { StagingDataTable, NotificationCard, Alert, - DateSelect, } from '../../components'; const headings = [ diff --git a/src/translations/tokens/en-US.json b/src/translations/tokens/en-US.json index 1de5fc8c..57ae421e 100644 --- a/src/translations/tokens/en-US.json +++ b/src/translations/tokens/en-US.json @@ -32,7 +32,7 @@ "unit-block-start": "Unit Block Start", "unit-block-end": "Unit Block End", "country-juridiction-of-owner": "Country Juridiction Of Owner", - "in-country-juridiction-of-owner": "in-Country Juridiction Of Owner", + "in-country-juridiction-of-owner": "In-Country Juridiction Of Owner", "intended-buyer-org-uid": "Intended Buyer Org UID", "tags": "Tags", "token-issuance-hash": "Token Issuance Hash",