Ver Fonte

Fix notifications (#4293)

Bartosz Dryl há 1 ano atrás
pai
commit
0b3186c3e4

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