From 6d143de5f784d184cede64584fe5d978448d0b4c Mon Sep 17 00:00:00 2001 From: Loup Theron Date: Wed, 3 Apr 2024 11:07:14 +0200 Subject: [PATCH] Remove TODO --- .../components/MissionForm/MainForm/FormikSyncMissionFields.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/features/Mission/components/MissionForm/MainForm/FormikSyncMissionFields.tsx b/frontend/src/features/Mission/components/MissionForm/MainForm/FormikSyncMissionFields.tsx index 684f530c38..786163cb79 100644 --- a/frontend/src/features/Mission/components/MissionForm/MainForm/FormikSyncMissionFields.tsx +++ b/frontend/src/features/Mission/components/MissionForm/MainForm/FormikSyncMissionFields.tsx @@ -37,8 +37,6 @@ export function FormikSyncMissionFields({ missionId }: FormikSyncMissionFormProp logInDev(`SSE: setting form key "${key}" to ${JSON.stringify(missionEvent[key])}`) setFieldValue(key, missionEvent[key]) }) - - // TODO Set draft as not dirty }, // We don't want to trigger infinite re-renders since `setFieldValue` changes after each rendering