From a86bc59e09b0beaae2308000f68ed1194823aafd Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 18 Jun 2025 14:42:00 +0800 Subject: [PATCH] remove unsued params from hook --- client/src/Hooks/useNotifications.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/src/Hooks/useNotifications.js b/client/src/Hooks/useNotifications.js index 303453655..69e03fd5e 100644 --- a/client/src/Hooks/useNotifications.js +++ b/client/src/Hooks/useNotifications.js @@ -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);