Bug regression caused by suid updates

This commit is contained in:
Eric van der Vlist 2023-04-15 12:18:46 +02:00
parent 91ef0239c9
commit 5640cf8755
1 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ const Invitation: Component<props> = (props) => {
}; };
return ( return (
<> <Show when={!!invitation() && !!invitation().data}>
<Dialog <Dialog
open={!!invitation() && !!invitation().data} open={!!invitation() && !!invitation().data}
fullScreen={false} fullScreen={false}
@ -213,7 +213,7 @@ const Invitation: Component<props> = (props) => {
> >
<Alert severity='error'>Le code est erroné !</Alert> <Alert severity='error'>Le code est erroné !</Alert>
</Box> </Box>
</Modal>{' '} </Modal>
<Modal <Modal
open={!!invitation().success} open={!!invitation().success}
onClose={handleCloseSuccess} onClose={handleCloseSuccess}
@ -234,7 +234,7 @@ const Invitation: Component<props> = (props) => {
> >
<Alert severity='success'>C'est tout bon !</Alert> <Alert severity='success'>C'est tout bon !</Alert>
</Box> </Box>
</Modal>{' '} </Modal>
<Modal <Modal
open={!!invitation().existing} open={!!invitation().existing}
onClose={handleModalFailureClose} onClose={handleModalFailureClose}
@ -260,7 +260,7 @@ const Invitation: Component<props> = (props) => {
</Alert> </Alert>
</Box> </Box>
</Modal> </Modal>
</> </Show>
); );
}; };