diff --git a/src/components/WalletViewer.tsx b/src/components/WalletViewer.tsx index 60c2064..091c201 100644 --- a/src/components/WalletViewer.tsx +++ b/src/components/WalletViewer.tsx @@ -19,7 +19,6 @@ import { ArrowDownLeft, LogOut, ChevronDown, - ExternalLink, } from "lucide-react"; import { Virtuoso } from "react-virtuoso"; import { useWallet } from "@/hooks/useWallet"; @@ -49,6 +48,7 @@ import { TooltipTrigger, } from "@/components/ui/tooltip"; import ConnectWalletDialog from "./ConnectWalletDialog"; +import { RelayLink } from "@/components/nostr/RelayLink"; interface Transaction { type: "incoming" | "outgoing"; @@ -825,21 +825,17 @@ export default function WalletViewer() { )} {state.nwcConnection?.relays && state.nwcConnection.relays.length > 0 && ( -
- Relay - - - {state.nwcConnection.relays[0] - .replace("wss://", "") - .replace("ws://", "")} - - - +
+ + Relay + +
)}