diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:31:07 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 11:31:07 -0700 |
commit | 934d9fa416d30a24dc038e5a1e12ef3f7eaec160 (patch) | |
tree | 2dcaf3d5f1cf9e53fec70633fe6670e65aa7c0cd /modern | |
parent | 15d7000b16e90db68f52931cc16dfa3ebbd74114 (diff) | |
download | trackermap-web-934d9fa416d30a24dc038e5a1e12ef3f7eaec160.tar.gz trackermap-web-934d9fa416d30a24dc038e5a1e12ef3f7eaec160.tar.bz2 trackermap-web-934d9fa416d30a24dc038e5a1e12ef3f7eaec160.zip |
Fix type
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/components/registration/LoginForm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js index 11847d3e..3d030a89 100644 --- a/modern/src/components/registration/LoginForm.js +++ b/modern/src/components/registration/LoginForm.js @@ -154,7 +154,7 @@ const LoginForm = () => { )} <Snackbar anchorOrigin={{ vertical: 'top', horizontal: 'center' }} - open={announcement && !announcementShown} + open={!!announcement && !announcementShown} message={announcement} action={( <IconButton size="small" color="inherit" onClick={() => setAnnouncementShown(true)}> |