Tasto leave chiude finestra

This commit is contained in:
Pietro committed 2020-05-13 14:43:59 +02:00
1 parent e03ab517e0
commit 8f87b1a3c1
1 file changed
+2 -2
+2 -2
View File
@@ -47,7 +47,7 @@ const styles = (theme) =>
}, },
divider : divider :
{ {
marginLeft : theme.spacing(3), marginLeft : theme.spacing(3)
}, },
show : show :
{ {
@@ -345,7 +345,7 @@ const TopBar = (props) =>
className={classes.actionButton} className={classes.actionButton}
variant='contained' variant='contained'
color='secondary' color='secondary'
onClick={() => roomClient.close()} onClick={() => { roomClient.close(); window.close(); }}
> >
<FormattedMessage <FormattedMessage
id='label.leave' id='label.leave'