Prevent undefined class name lol
This commit is contained in:
parent
42db913b22
commit
e153f9f541
|
@ -63,7 +63,7 @@ function NotificationsLink() {
|
|||
to="/notifications"
|
||||
class={`button plain notifications-button ${
|
||||
snapStates.notificationsShowNew ? 'has-badge' : ''
|
||||
} ${menuState}`}
|
||||
} ${menuState || ''}`}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
if (window.matchMedia('(min-width: calc(40em))').matches) {
|
||||
|
|
Loading…
Reference in a new issue