瀏覽代碼

Fix notifications (#4293)

Bartosz Dryl 1 年之前
父節點
當前提交
0b3186c3e4
共有 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,