From e153f9f54190233cf7f2a2f1d3ced4b35e48cbe7 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 16 Oct 2023 20:21:09 +0800 Subject: [PATCH] Prevent undefined class name lol --- src/pages/home.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 8acfcc96..35176112 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -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) {