feat: optimize for algo relays

This commit is contained in:
codytseng 2024-12-07 13:51:14 +08:00
parent 5dd3908db1
commit 9dec5201ba
10 changed files with 90 additions and 52 deletions

View file

@ -113,7 +113,9 @@ function RelayUrl({
onRemove: () => void
}) {
const { t } = useTranslation()
const [relayInfo] = useFetchRelayInfos([url])
const {
relayInfos: [relayInfo]
} = useFetchRelayInfos([url])
return (
<div className="flex items-center justify-between">