diff --git a/src/components/Relay/index.tsx b/src/components/Relay/index.tsx index 8f7c945f..2fa9bb8f 100644 --- a/src/components/Relay/index.tsx +++ b/src/components/Relay/index.tsx @@ -3,7 +3,6 @@ import RelayInfo from '@/components/RelayInfo' import SearchInput from '@/components/SearchInput' import { useFetchRelayInfo } from '@/hooks' import { normalizeUrl } from '@/lib/url' -import { cn } from '@/lib/utils' import { useEffect, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' import NotFound from '../NotFound' @@ -30,8 +29,8 @@ export default function Relay({ url, className }: { url?: string; className?: st } return ( -
- +
+ {relayInfo?.supported_nips?.includes(50) && (
+
diff --git a/src/components/ReplyNoteList/index.tsx b/src/components/ReplyNoteList/index.tsx index f87acba2..20547b5e 100644 --- a/src/components/ReplyNoteList/index.tsx +++ b/src/components/ReplyNoteList/index.tsx @@ -284,7 +284,7 @@ export default function ReplyNoteList({ index, event }: { index?: number; event: return (
- {loading && (replies.length === 0 ? : )} + {loading && } {!loading && until && (
)}
+ {loading && }
) }