- {name} |
-
- {
- dispatch(
- OriginalDataPointActions.updateNationalClass({
- odp,
- index,
- field: 'area',
- prevValue: area,
- value: event.target.value,
- })
- )
- }}
- onPaste={(event: any) => {
- dispatch(
- OriginalDataPointActions.pasteNationalClass({
- odp,
- event,
- colIndex: 0,
- rowIndex: index,
- columns,
- })
- )
- }}
- />
- |
-
-
- {
- dispatch(
- OriginalDataPointActions.updateNationalClass({
- odp,
- index,
- field: 'forestPercent',
- prevValue: forestPercent,
- value: event.target.value,
- })
- )
- }}
- onPaste={(event: any) => {
- dispatch(
- OriginalDataPointActions.pasteNationalClass({
- odp,
- event,
- colIndex: 1,
- rowIndex: index,
- columns,
- })
- )
- }}
- />
- |
-
-
- {
- dispatch(
- OriginalDataPointActions.updateNationalClass({
- odp,
- index,
- field: 'otherWoodedLandPercent',
- prevValue: otherWoodedLandPercent,
- value: event.target.value,
- })
- )
- }}
- onPaste={(event: any) => {
- dispatch(
- OriginalDataPointActions.pasteNationalClass({
- odp,
- event,
- colIndex: 2,
- rowIndex: index,
- columns,
- })
- )
- }}
- />
- |
-
-
- {Numbers.format(Numbers.sub(100, Numbers.add(forestPercent, otherWoodedLandPercent)))}
- %
- |
-
-
- {odp.odpId && canEditData && (
-
-
-
- )}
- |
-
- )
-}
-
-export default ExtentOfForestRow
diff --git a/.src.legacy/webapp/components/OriginalDataPoint/ExtentOfForest/index.ts b/.src.legacy/webapp/components/OriginalDataPoint/ExtentOfForest/index.ts
deleted file mode 100644
index 66293d6da5..0000000000
--- a/.src.legacy/webapp/components/OriginalDataPoint/ExtentOfForest/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './ExtentOfForest'
diff --git a/.src.legacy/webapp/components/OriginalDataPoint/ForestCharacteristics/ForestCharacteristics.tsx b/.src.legacy/webapp/components/OriginalDataPoint/ForestCharacteristics/ForestCharacteristics.tsx
deleted file mode 100644
index b6b501f369..0000000000
--- a/.src.legacy/webapp/components/OriginalDataPoint/ForestCharacteristics/ForestCharacteristics.tsx
+++ /dev/null
@@ -1,104 +0,0 @@
-import React from 'react'
-
-import { ODP, ODPs } from '@core/odp'
-import { Numbers } from '@core/utils/numbers'
-import { useI18n } from '@webapp/hooks'
-import { usePrintView } from '@webapp/store/app'
-
-import DefinitionLink from '@webapp/components/definitionLink'
-import ForestCharacteristicsRow from './ForestCharacteristicsRow'
-import ForestCharacteristicsPlantation from './ForestCharacteristicsPlantation'
-
-type Props = {
- canEditData: boolean
- odp: ODP
-}
-
-const ForestCharacteristics: React.FC