diff --git a/src/components/invitation/Invitation.tsx b/src/components/invitation/Invitation.tsx index 4a77fc0..add370c 100644 --- a/src/components/invitation/Invitation.tsx +++ b/src/components/invitation/Invitation.tsx @@ -28,6 +28,7 @@ const fetchInvitation = () => { params: { id: invitation().data.id }, }).then((account) => { console.log({ caller: 'Invitation / fetchInvitation', account }); + setInvitation({ ...invitation(), existing: true }); }); }) .catch((error) => { @@ -102,7 +103,7 @@ const Invitation: Component = (props) => { }; const handleModalFailureClose = () => { - setInvitation({ ...invitation(), failure: undefined }); + setInvitation({ ...invitation(), failure: undefined, existing: undefined }); }; const handleCloseAll = () => { @@ -191,6 +192,31 @@ const Invitation: Component = (props) => { > C'est tout bon ! + {' '} + + + + Ce compte est déjà configuré, vous pouvez soit continuer et le + reconfigurer soit abandonner cette action et ne pas tenir compte du + massage qui vous a été envoyé. + + );