import { useMemo } from "react"; import { genMnemonic } from "@/backend/accounts/crypto"; import { Button } from "@/components/Button"; import { Icon, Icons } from "@/components/Icon"; import { LargeCard, LargeCardButtons, LargeCardText, } from "@/components/layout/LargeCard"; import { PassphaseDisplay } from "@/components/PassphraseDisplay"; interface PassphraseGeneratePartProps { onNext?: (mnemonic: string) => void; } export function PassphraseGeneratePart(props: PassphraseGeneratePartProps) { const mnemonic = useMemo(() => genMnemonic(), []); return ( }> If you lose this, you're a silly goose and will be posted on the wall of shame™️ ); }