diff --git a/src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx b/src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx index 6ba6739..bd0ede2 100644 --- a/src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx +++ b/src/components/NotificationList/NotificationItem/PublicMessageNotification.tsx @@ -1,4 +1,3 @@ -import { ExtendedKind } from '@/constants' import { useNostr } from '@/providers/NostrProvider' import { MessageCircle } from 'lucide-react' import { Event } from 'nostr-tools' diff --git a/src/services/client.service.ts b/src/services/client.service.ts index c3d1525..59b748e 100644 --- a/src/services/client.service.ts +++ b/src/services/client.service.ts @@ -113,8 +113,7 @@ class ClientService extends EventTarget { }) if (mentions.length > 0) { const relayLists = await this.fetchRelayLists(mentions) - relayLists.forEach((relayList, index) => { - const mentionPubkey = mentions[index] + relayLists.forEach((relayList) => { _additionalRelayUrls.push(...relayList.read.slice(0, 4)) }) }