diff --git a/src/frontend/src/components/createnewproject/SplitTasks.tsx b/src/frontend/src/components/createnewproject/SplitTasks.tsx
index 4d9c0781e8..f11755969a 100644
--- a/src/frontend/src/components/createnewproject/SplitTasks.tsx
+++ b/src/frontend/src/components/createnewproject/SplitTasks.tsx
@@ -340,7 +340,9 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
/>
{errors.dimension && (
-
{errors.dimension}
+
)}
>
)}
@@ -356,9 +358,11 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
/>
{errors.average_buildings_per_task && (
-
- {errors.average_buildings_per_task}
-
+
+
+ {errors.average_buildings_per_task}
+
+
)}
>
)}
@@ -395,9 +399,11 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
{(splitTasksSelection === task_split_type['divide_on_square'] ||
splitTasksSelection === task_split_type['task_splitting_algorithm'] ||
splitTasksSelection === task_split_type['choose_area_as_task']) && (
-
- Total number of task: {totalSteps}
-
+
+
+ Total number of task: {totalSteps}
+
+
)}
diff --git a/src/frontend/src/components/createnewproject/UploadArea.tsx b/src/frontend/src/components/createnewproject/UploadArea.tsx
index c1d12758d1..756081f66c 100644
--- a/src/frontend/src/components/createnewproject/UploadArea.tsx
+++ b/src/frontend/src/components/createnewproject/UploadArea.tsx
@@ -14,6 +14,7 @@ import FileInputComponent from '@/components/common/FileInputComponent';
import NewDefineAreaMap from '@/views/NewDefineAreaMap';
import { checkWGS84Projection } from '@/utilfunctions/checkWGS84Projection.js';
import { valid } from 'geojson-validation';
+import { DivideSquareIcon } from 'lucide-react';
const uploadAreaOptions = [
{
@@ -187,14 +188,14 @@ const UploadArea = ({ flag, geojsonFile, setGeojsonFile, setCustomLineUpload, se
Upload Area
-
+
You can choose to upload the AOI. Note: The file upload only supports .geojson format.
You may also draw a freehand polygon on map interface.
{' '}
Click on the reset button to redraw the AOI.
The total area of the AOI is also calculated and displayed on the screen.
-
+
@@ -241,7 +242,9 @@ const UploadArea = ({ flag, geojsonFile, setGeojsonFile, setCustomLineUpload, se
Total Area:
{totalAreaSelection}
{errors.drawnGeojson && (
-
{errors.drawnGeojson}
+
+
{errors.drawnGeojson}
+
)}
)}
diff --git a/src/frontend/src/components/createnewproject/validation/SelectFormValidation.tsx b/src/frontend/src/components/createnewproject/validation/SelectFormValidation.tsx
index 92cf2c9dd6..2cc52a9798 100644
--- a/src/frontend/src/components/createnewproject/validation/SelectFormValidation.tsx
+++ b/src/frontend/src/components/createnewproject/validation/SelectFormValidation.tsx
@@ -22,7 +22,6 @@ function SelectFormValidation(values: ProjectValues) {
errors.customFormUpload = 'Form needs to be Uploaded.';
}
- console.log(errors);
return errors;
}
diff --git a/src/frontend/src/components/createnewproject/validation/UploadAreaValidation.tsx b/src/frontend/src/components/createnewproject/validation/UploadAreaValidation.tsx
index 267c62bc88..9c07304173 100644
--- a/src/frontend/src/components/createnewproject/validation/UploadAreaValidation.tsx
+++ b/src/frontend/src/components/createnewproject/validation/UploadAreaValidation.tsx
@@ -28,7 +28,6 @@ function UploadAreaValidation(values: ProjectValues) {
errors.uploadedAreaFile = 'Uploaded Area File is Required.';
}
- console.log(errors);
return errors;
}