From d99cfb148bf275dc3f29c16925efac715a60cf6a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 12:19:20 -0700 Subject: First run: a refresh on the words step shows words, not a Generate button. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/app.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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', -- cgit v1.2.3