Prevent undefined class name lol

pull/264/head
Lim Chee Aun 2023-10-16 20:21:09 +08:00
rodzic 42db913b22
commit e153f9f541
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {