diff options
-rw-r--r-- | modern/src/RegisterDialog.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/modern/src/RegisterDialog.js b/modern/src/RegisterDialog.js index 5be0a247..6dda25ec 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} |