diff --git a/src/components/Connection/SGEConnect/StepAddress.tsx b/src/components/Connection/SGEConnect/StepAddress.tsx index b2971c47ff4576ca71dc2fda239fe26ed0bb40d4..01e70e8939bbe8c6e1ebe2954b3b41a21ce0dda7 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 c55c0ec6095019bcbc8f72c0f715a370d6fd74df..d4270b31a3d8143729dc7320ad9d10d616f849cd 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 0889e061391d5783fdfa3f82f141e3d23a3a68d1..762c0def3da3f44ad32cb010178f56d61ca40a2e 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',