kopia lustrzana https://github.com/cheeaun/phanpy
Prevent undefined class name lol
rodzic
42db913b22
commit
e153f9f541
|
@ -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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue