fix: 🐛
This commit is contained in:
parent
4e40662f22
commit
5647eeb1a8
1 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ import { Event, kinds } from 'nostr-tools'
|
|||
import { useEffect, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import RelaySetCard from '../RelaySetCard'
|
||||
import { buildATag } from '@/lib/draft-event'
|
||||
|
||||
export default function PullRelaySetsButton() {
|
||||
const { t } = useTranslation()
|
||||
|
|
@ -120,7 +121,7 @@ function RemoteRelaySets({ close }: { close?: () => void }) {
|
|||
if (!title) {
|
||||
title = relayUrls.length === 1 ? simplifyUrl(relayUrls[0]) : id
|
||||
}
|
||||
relaySets.push({ id, name: title, relayUrls })
|
||||
relaySets.push({ id, name: title, relayUrls, aTag: buildATag(evt) })
|
||||
relaySetEventMap.set(id, evt)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue