ソースを参照

Fix notifications (#4293)

Bartosz Dryl 1 年間 前
コミット
931f9ba7de

+ 1 - 1
packages/atlas/src/providers/notifications/notifications.hooks.ts

@@ -18,7 +18,7 @@ export const useNotifications = (
   opts?: QueryHookOptions<GetNotificationsConnectionQuery, GetNotificationsConnectionQueryVariables>
 ) => {
   const { memberId } = useUser()
-  const { notifications: rawNotifications, ...rest } = useRawNotifications('111', opts)
+  const { notifications: rawNotifications, ...rest } = useRawNotifications(memberId, opts)
   const {
     readNotificationsIdsMap,
     lastSeenNotificationBlock,