aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-21 12:19:20 -0700
committerAdam Soltys <[email protected]>2026-09-21 12:19:20 -0700
commitd99cfb148bf275dc3f29c16925efac715a60cf6a (patch)
treed9f9965121c2c7fda7a053e976adef73b8ca06c1
parent8dbbe74b2bf9714370197816928c93fe3a34cbd4 (diff)
downloadcoinosv3-d99cfb148bf275dc3f29c16925efac715a60cf6a.tar.gz
coinosv3-d99cfb148bf275dc3f29c16925efac715a60cf6a.zip
First run: a refresh on the words step shows words, not a Generate button.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
-rw-r--r--src/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 5f7bbee..b7e68a6 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1070,6 +1070,10 @@ function tabBtn(label, active, onClick) {
function createPane() {
if (ui.createStep === 'gen') {
+ // The wizard shows words, never a Generate button: a refresh restores
+ // the step but not the draft (drafts live in memory only), so draw a
+ // fresh set right here. Nothing was made from the old words.
+ if (!ui.draftMnemonic && ui.onb && ui.onb.step === 'seed') ui.draftRandom = ui.draftMnemonic = newMnemonic();
if (!ui.draftMnemonic) {
return h(
'div',