From 4b1c6ff6dfd30576589dadd45549207160f8f615 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 12:23:52 -0700 Subject: Words screen: no Regenerate button. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/app.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src') diff --git a/src/app.js b/src/app.js index b7e68a6..9648b4b 100644 --- a/src/app.js +++ b/src/app.js @@ -1104,24 +1104,7 @@ function createPane() { h('div', { class: 'w' }, h('span', { class: 'n' }, i + 1), h('span', { class: 't' }, w)) ) ), - h( - 'div', - { class: 'row gap6' }, - copyBtn(ui.draftMnemonic, t('copyPhrase')), - // With own entropy the phrase is a pure function of the text — - // "Regenerate" would hand back the identical words, so it hides. - (ui.ownEntropy || '').trim() ? null : h( - 'button', - { - class: 'btn-ghost btn-sm', - onClick: () => { - ui.draftRandom = ui.draftMnemonic = newMnemonic(); - render(); - }, - }, - t('regenerate') - ) - ), + h('div', { class: 'row gap6' }, copyBtn(ui.draftMnemonic, t('copyPhrase'))), optionsPanel(), h( 'button', -- cgit v1.2.3