import { useMemo } from "react"; import { genMnemonic } from "@/backend/accounts/crypto"; import { Button } from "@/components/Button"; interface PassphraseGeneratePartProps { onNext?: (mnemonic: string) => void; } export function PassphraseGeneratePart(props: PassphraseGeneratePartProps) { const mnemonic = useMemo(() => genMnemonic(), []); return (
Remeber the following passphrase:
{mnemonic}