import { Button } from '@/components/ui/button' import SecondaryPageLayout from '@/layouts/SecondaryPageLayout' import { useSecondaryPage } from '@/PageManager' import { useNostr } from '@/providers/NostrProvider' import { forwardRef } from 'react' import { useTranslation } from 'react-i18next' const LogoutPage = forwardRef(({ index }: { index?: number }, ref) => { const { t } = useTranslation() const { pop } = useSecondaryPage() const { account, removeAccount } = useNostr() const handleLogout = () => { if (account) { removeAccount(account) pop() } } return (

{t('Are you sure you want to logout?')}

) }) LogoutPage.displayName = 'LogoutPage' export default LogoutPage