浏览代码

Fix notifications (#4293)

Bartosz Dryl 1 年之前
父节点
当前提交
931f9ba7de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/atlas/src/providers/notifications/notifications.hooks.ts

+ 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,