From 13cc678f80b43d4b280be8dea8349b14c3543d45 Mon Sep 17 00:00:00 2001
From: Pierre Ecarlat <pecarlat@grandlyon.com>
Date: Thu, 29 Aug 2024 11:03:56 +0000
Subject: [PATCH] =?UTF-8?q?Resolve=20"[Accessibilit=C3=A9]=20Audit=20Acces?=
 =?UTF-8?q?sibilit=C3=A9=20Virginie=20-=20Anomalies=20MANTIS"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/components/Connection/SGEConnect/StepAddress.tsx        | 2 +-
 src/components/Connection/SGEConnect/StepIdentityAndPdl.tsx | 2 +-
 src/components/Feedback/FeedbackModal.tsx                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/Connection/SGEConnect/StepAddress.tsx b/src/components/Connection/SGEConnect/StepAddress.tsx
index b2971c47f..01e70e893 100644
--- a/src/components/Connection/SGEConnect/StepAddress.tsx
+++ b/src/components/Connection/SGEConnect/StepAddress.tsx
@@ -39,7 +39,7 @@ const StepAddress = ({ sgeState, onChange }: StepAddressProps) => {
         variant="outlined"
         type="text"
         id="city"
-        value={sgeState.city}
+        value={sgeState.city || ''}
         onChange={e => onChange('city', e.target.value)}
         required
       />
diff --git a/src/components/Connection/SGEConnect/StepIdentityAndPdl.tsx b/src/components/Connection/SGEConnect/StepIdentityAndPdl.tsx
index c55c0ec60..d4270b31a 100644
--- a/src/components/Connection/SGEConnect/StepIdentityAndPdl.tsx
+++ b/src/components/Connection/SGEConnect/StepIdentityAndPdl.tsx
@@ -50,7 +50,7 @@ const StepIdentityAndPdl = ({
         variant="outlined"
         id="pdl"
         type="number"
-        value={sgeState.pdl ? sgeState.pdl : undefined}
+        value={sgeState.pdl || ''}
         onChange={e => onChange('pdl', e.target.value, 14)}
         inputMode="numeric"
         required
diff --git a/src/components/Feedback/FeedbackModal.tsx b/src/components/Feedback/FeedbackModal.tsx
index 0889e0613..762c0def3 100644
--- a/src/components/Feedback/FeedbackModal.tsx
+++ b/src/components/Feedback/FeedbackModal.tsx
@@ -34,7 +34,7 @@ const FeedbackModal = () => {
   return (
     <Dialog
       open={isFeedbacksOpen}
-      onClose={() => closeModal()}
+      onClose={closeModal}
       aria-labelledby="accessibility-title"
       classes={{
         root: 'modal-root',
-- 
GitLab