From a40fe05035bc14dbd4c46361f0e22a989f90ad06 Mon Sep 17 00:00:00 2001 From: cyrbuzz Date: Fri, 19 Sep 2025 10:38:47 +0800 Subject: [PATCH] fix: notification --- .../NotificationCentre/useMakeNotification.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/NotificationCentre/useMakeNotification.ts b/src/components/NotificationCentre/useMakeNotification.ts index 9e2a3a2d..c4c5c752 100644 --- a/src/components/NotificationCentre/useMakeNotification.ts +++ b/src/components/NotificationCentre/useMakeNotification.ts @@ -72,7 +72,18 @@ export const useMakeNotification = () => { refreshAndMakeLowBillingBalanceNotification: () => { idleCallback(() => consumerNotifications.makeLowBillingBalanceNotification('reload')); }, - // ... 其他刷新方法 + refreshAndMakeInactiveOperatorNotification: () => { + idleCallback(() => delegatorNotifications.makeInactiveOperatorNotification('reload')); + }, + refreshAndMakeInOrDecreaseCommissionNotification: () => { + idleCallback(() => delegatorNotifications.makeInOrDecreaseCommissionNotification('reload')); + }, + refreshAndMakeUnlockWithdrawalNotification: () => { + idleCallback(() => delegatorNotifications.makeUnlockWithdrawalNotification('reload')); + }, + refreshAndMakeOutdateAllocationProjects: () => { + idleCallback(() => allocationNotifications.makeOutdateAllocationProjects('reload')); + }, initNewNotification: () => idleCallback(initAllNotification), };