From ae547522ed9c33bc540ba08b5883921d22ae7437 Mon Sep 17 00:00:00 2001 From: nyne Date: Sun, 30 Nov 2025 19:49:29 +0800 Subject: [PATCH] fix: update NotificationButton styling and integrate useNavigator in NotificationPage --- frontend/src/components/navigator.tsx | 8 +++----- frontend/src/pages/notification_page.tsx | 5 ++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/navigator.tsx b/frontend/src/components/navigator.tsx index 96b20b4..8d799e2 100644 --- a/frontend/src/components/navigator.tsx +++ b/frontend/src/components/navigator.tsx @@ -568,11 +568,9 @@ function NotificationButton() { return (
- {count > 0 && ( - - {count > 99 ? "99+" : count} - - )} + {count > 0 && + {count > 99 ? "99+" : count} + }