14.05.2026 rip

This commit is contained in:
2026-05-14 22:39:06 +03:00
parent 0668ecccf3
commit cdbd9318cf
7 changed files with 81 additions and 32 deletions

View File

@@ -1,16 +1,18 @@
import { WalletHeader } from '@widgets/wallet-header'
import { SeedPhraseWidget } from '@widgets/seed-phrase'
import { useRevealMnemonic } from '@features/wallet'
import styles from './SeedPhrasePage.module.css'
const MOCK_WORDS = ['egg', 'phone', 'long', 'vibe', 'potato', 'soup', 'skirt', 'black', 'phase', 'word', 'num', 'cucumber']
export function SeedPhrasePage() {
const { data: mnemonic, isLoading } = useRevealMnemonic()
const words = mnemonic ? mnemonic.split(' ') : []
return (
<div className={styles.page}>
<WalletHeader />
<main className={styles.main}>
<div className={styles.glow} />
<SeedPhraseWidget words={MOCK_WORDS} />
{!isLoading && <SeedPhraseWidget words={words} />}
</main>
</div>
)