import { useAuth } from '../auth'

export default function SettingsPage() {
  const { user, onLogout } = useAuth()
  return (
    <section>
      <h2 className="mb-2 text-sm font-semibold uppercase tracking-wide text-neutral-400">Settings</h2>
      <p>Account</p>
      <p className="text-neutral-400">
        {user?.username} {user?.isAdmin ? '(admin)' : ''}
      </p>
    </section>
  )
}
