From 6a50743bb22fe7609de54330f2795264129f2311 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Thu, 26 Sep 2024 13:49:56 +0200 Subject: [PATCH] do not mutate accepted predictions --- .../components/Layout/Start/Prediction/EditableGeoJSON.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Layout/Start/Prediction/EditableGeoJSON.js b/frontend/src/components/Layout/Start/Prediction/EditableGeoJSON.js index 2f2f8344..6eee938b 100644 --- a/frontend/src/components/Layout/Start/Prediction/EditableGeoJSON.js +++ b/frontend/src/components/Layout/Start/Prediction/EditableGeoJSON.js @@ -172,9 +172,9 @@ const EditableGeoJSON = ({ } }; const { mutate: mutateSubmitFeedback } = useMutation(submitFeedback); - const { mutate: mutatesubmitAcceptedPrediction } = useMutation( - submitAcceptedPrediction - ); + // const { mutate: mutatesubmitAcceptedPrediction } = useMutation( + // submitAcceptedPrediction + // ); const submitAcceptedPrediction = async (layer) => { const newAOI = {