diff options
author | mikems66 <77976973+mikems66@users.noreply.github.com> | 2021-01-28 15:12:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 15:12:05 +0100 |
commit | 5256eea09b59f3d2793805e960abdae55555a30a (patch) | |
tree | 653cafdaf14238a9093739c8d3230f488d77af7e | |
parent | f70882e49d3cd6deeec75be967365535db2f93b3 (diff) | |
download | trackermap-web-5256eea09b59f3d2793805e960abdae55555a30a.tar.gz trackermap-web-5256eea09b59f3d2793805e960abdae55555a30a.tar.bz2 trackermap-web-5256eea09b59f3d2793805e960abdae55555a30a.zip |
Update modern/src/RegisterDialog.js
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
-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} |