import { Box, Text, Button, VStack, Avatar, Link } from "@chakra-ui/react"; import { SessionTypes } from "@walletconnect/types"; interface ConnectionDetailsParams { web3WalletSession: SessionTypes.Struct; killSession: () => void; } function ConnectionDetails({ web3WalletSession, killSession, }: ConnectionDetailsParams) { return ( <> ✅ Connected To: {web3WalletSession.peer?.metadata?.name} {web3WalletSession.peer?.metadata?.description} {web3WalletSession.peer?.metadata?.url} ); } export default ConnectionDetails;