fix: update NotificationButton styling and integrate useNavigator in NotificationPage

This commit is contained in:
2025-11-30 19:49:29 +08:00
parent 96cdd2c41c
commit ae547522ed
2 changed files with 7 additions and 6 deletions

View File

@@ -568,11 +568,9 @@ function NotificationButton() {
return (
<div className="indicator">
{count > 0 && (
<span className="indicator-item badge badge-secondary badge-sm">
{count > 99 ? "99+" : count}
</span>
)}
{count > 0 && <span className="bg-error text-white text-xs rounded-full px-1 indicator-item">
{count > 99 ? "99+" : count}
</span>}
<button
className="btn btn-ghost btn-circle"
onClick={() => {