mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +01:00
Prevent undefined class name lol
This commit is contained in:
parent
42db913b22
commit
e153f9f541
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ function NotificationsLink() {
|
||||||
to="/notifications"
|
to="/notifications"
|
||||||
class={`button plain notifications-button ${
|
class={`button plain notifications-button ${
|
||||||
snapStates.notificationsShowNew ? 'has-badge' : ''
|
snapStates.notificationsShowNew ? 'has-badge' : ''
|
||||||
} ${menuState}`}
|
} ${menuState || ''}`}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (window.matchMedia('(min-width: calc(40em))').matches) {
|
if (window.matchMedia('(min-width: calc(40em))').matches) {
|
||||||
|
|
Loading…
Reference in a new issue