import { Link } from 'react-router' import NearLogo from '@/assets/near-logo.svg'; import styles from '@/styles/app.module.css'; import { useNearWallet } from 'near-connect-hooks'; export const Navigation = () => { const { signedAccountId, loading, signIn, signOut } = useNearWallet(); const handleAction = () => { if (signedAccountId) { signOut(); } else { signIn(); } }; const label = loading ? "Loading..." : signedAccountId ? `Logout ${signedAccountId}` : "Login"; return ( ); };