import { Link, useLocation } from 'react-router-dom' import WalletConnect from '../wallet/WalletConnect' interface LayoutProps { children: React.ReactNode } export default function Layout({ children }: LayoutProps) { const location = useLocation() const isActive = (path: string) => location.pathname === path return (