This commit is contained in:
parent
ffd3d46d3d
commit
4503027266
@ -31,54 +31,6 @@ export default function RelaysView() {
|
||||
<SimpleNavItem to="/relays/app" leftIcon={<RelayIcon boxSize={6} />}>
|
||||
App Relays
|
||||
</SimpleNavItem>
|
||||
<SimpleNavItem to="/relays/cache" leftIcon={<Database01 boxSize={6} />}>
|
||||
Cache Relay
|
||||
</SimpleNavItem>
|
||||
{account && (
|
||||
<>
|
||||
<SimpleNavItem to="/relays/mailboxes" leftIcon={<Mail02 boxSize={6} />}>
|
||||
Mailboxes
|
||||
</SimpleNavItem>
|
||||
<SimpleNavItem to="/relays/media-servers" leftIcon={<Image01 boxSize={6} />}>
|
||||
Media Servers
|
||||
</SimpleNavItem>
|
||||
<SimpleNavItem to="/relays/search" leftIcon={<SearchIcon boxSize={6} />}>
|
||||
Search Relays
|
||||
</SimpleNavItem>
|
||||
</>
|
||||
)}
|
||||
<SimpleNavItem to="/relays/webrtc" leftIcon={<Server05 boxSize={6} />}>
|
||||
WebRTC Relays
|
||||
</SimpleNavItem>
|
||||
{nip05?.exists && (
|
||||
<SimpleNavItem to="/relays/nip05" leftIcon={<AtIcon boxSize={6} />}>
|
||||
NIP-05 Relays
|
||||
</SimpleNavItem>
|
||||
)}
|
||||
{account && (
|
||||
<>
|
||||
<SimpleNavItem to="/relays/contacts" leftIcon={<UserSquare boxSize={6} />}>
|
||||
Contact List Relays
|
||||
</SimpleNavItem>
|
||||
</>
|
||||
)}
|
||||
{/* {account && (
|
||||
<>
|
||||
<Heading size="sm" mt="2">
|
||||
Relay Sets
|
||||
</Heading>
|
||||
{relaySets.map((set) => (
|
||||
<Button
|
||||
as={RouterLink}
|
||||
variant="outline"
|
||||
colorScheme={location.pathname.endsWith(getEventCoordinate(set)) ? "primary" : undefined}
|
||||
to={`/relays/${getEventCoordinate(set)}`}
|
||||
>
|
||||
{getListName(set)}
|
||||
</Button>
|
||||
))}
|
||||
</>
|
||||
)} */}
|
||||
</Flex>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user