Skip to content

Commit 79933d9

Browse files
authored
make upload geojson for priority bounds replace instead of append to the form data (#2743)
1 parent 5c869a4 commit 79933d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)