Skip to content

Commit 46e4a58

Browse files
committed
make upload geojson for priority bounds replace instead of append to the form data
1 parent 5c869a4 commit 46e4a58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Custom/RJSFFormFieldAdapter/CustomPriorityBoundsField.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const CustomPriorityBoundsField = (props) => {
223223
throw new Error("No valid Polygon features found");
224224
}
225225

226-
const newData = [...formData, ...polygonFeatures];
226+
const newData = polygonFeatures;
227227
handleChange(newData);
228228

229229
setUploadFeedback({

0 commit comments

Comments
 (0)