import { useState } from 'preact/hooks'; import { Eye, EyeOff, Send, X } from 'lucide-preact'; import StandalonePageFrame from '@/components/StandalonePageFrame'; import { t } from '@/lib/i18n'; interface RecoverTwoFactorPageProps { values: { email: string; password: string; recoveryCode: string }; onChange: (next: { email: string; password: string; recoveryCode: string }) => void; onSubmit: () => void; onCancel: () => void; } export default function RecoverTwoFactorPage(props: RecoverTwoFactorPageProps) { const [showPassword, setShowPassword] = useState(false); return (
{ e.preventDefault(); props.onSubmit(); }} >

{t('txt_use_your_one_time_recovery_code_to_disable_two_step_verification')}

); }