import { Link } from 'react-router-dom' import { useAuth } from '../context/AuthContext' type Props = { onClose: () => void } function ProfileField({ label, value }: { label: string; value: string }) { return (
{value || '—'}
You’re not signed in. Profile details appear here after you create an account or sign in (the same information you enter on registration: email and name).
Information stored with your account (from sign-up and saved on the server). Your password is never shown.
{user.id}
To change your name, email, or password, open Account from the menu.