import AboutInfoDialog from '@/components/AboutInfoDialog' import Donation from '@/components/Donation' import { toAppearanceSettings, toEmojiPackSettings, toGeneralSettings, toPostSettings, toRelaySettings, toSystemSettings, toTranslation, toWallet } from '@/lib/link' import { cn } from '@/lib/utils' import { useSecondaryPage } from '@/PageManager' import { useNostr } from '@/providers/NostrProvider' import { Check, ChevronRight, Cog, Copy, Info, KeyRound, Languages, Palette, PencilLine, Server, Settings2, Smile, Wallet } from 'lucide-react' import { forwardRef, HTMLProps, useState } from 'react' import { useTranslation } from 'react-i18next' export default function Settings() { const { t } = useTranslation() const { pubkey, nsec, ncryptsec } = useNostr() const { push } = useSecondaryPage() const [copiedNsec, setCopiedNsec] = useState(false) const [copiedNcryptsec, setCopiedNcryptsec] = useState(false) return (