aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/RegisterDialog.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/modern/src/RegisterDialog.js b/modern/src/RegisterDialog.js
index 5be0a24..6dda25e 100644
--- a/modern/src/RegisterDialog.js
+++ b/modern/src/RegisterDialog.js
@@ -47,11 +47,14 @@ const RegisterDialog = ({ showDialog, onResult }) => {
}
if (snackbarOpen) {
- return <Snackbar
- anchorOrigin={{ vertical: 'bottom', horizontal: 'center', }}
- open={snackbarOpen} autoHideDuration={6000}
- onClose={() => { onResult(true) }} message={t('loginCreated')}
- />
+ return (
+ <Snackbar
+ anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
+ open={snackbarOpen}
+ autoHideDuration={6000}
+ onClose={() => { onResult(true) }}
+ message={t('loginCreated')} />
+ );
} else if (showDialog) {
return <Dialog
open={true}