remove unsued params from hook

This commit is contained in:
Alex Holliday committed 2025-06-18 14:42:00 +08:00
1 parent 29cfc4fb41
commit a86bc59e09
1 file changed
-3
-3
View File
@@ -98,12 +98,9 @@ const useGetNotificationById = (id, setNotification) => {
const notification = response?.data?.data ?? null;
const notificationData = {
userId: notification?.userId,
teamId: notification?.teamId,
address: notification?.address,
notificationName: notification?.notificationName,
type: NOTIFICATION_TYPES.find((type) => type.value === notification?.type)?._id,
config: notification?.config,
};
setNotification(notificationData);