diff options
Diffstat (limited to 'modern/src')
-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)}> |