aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormikems66 <77976973+mikems66@users.noreply.github.com>2021-01-28 15:12:05 +0100
committerGitHub <noreply@github.com>2021-01-28 15:12:05 +0100
commit5256eea09b59f3d2793805e960abdae55555a30a (patch)
tree653cafdaf14238a9093739c8d3230f488d77af7e
parentf70882e49d3cd6deeec75be967365535db2f93b3 (diff)
downloadetbsa-traccar-web-5256eea09b59f3d2793805e960abdae55555a30a.tar.gz
etbsa-traccar-web-5256eea09b59f3d2793805e960abdae55555a30a.tar.bz2
etbsa-traccar-web-5256eea09b59f3d2793805e960abdae55555a30a.zip
Update modern/src/RegisterDialog.js
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
-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}