import { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { genMnemonic } from "@/backend/accounts/crypto"; import { Button } from "@/components/buttons/Button"; import { PassphraseDisplay } from "@/components/form/PassphraseDisplay"; import { Icon, Icons } from "@/components/Icon"; import { LargeCard, LargeCardButtons, LargeCardText, } from "@/components/layout/LargeCard"; interface PassphraseGeneratePartProps { onNext?: (mnemonic: string) => void; } export function PassphraseGeneratePart(props: PassphraseGeneratePartProps) { const mnemonic = useMemo(() => genMnemonic(), []); const { t } = useTranslation(); return ( } > {t("auth.generate.description")} ); }