d389c9f486fb
fix forgot-password button: move recovery word entry match before hasVault match so it isn't shadowed
- time
- 2026-05-05 17:41 UTC · 5 months ago
- machine
- koh2
- parent
- 808ea0e592b9
↓ peach-browser-d389c9f4.tar.gzatlas at this save
files changed1 file
src/popup/views/Lock.tsx+8 −8src/popup/views/Lock.tsx+8 −8
@@ -207,6 +207,14 @@207207 />208208 </Match>209209 210+ {/* ── Recovery word entry ─────────────────────────────────────── */}211+ <Match when={recoverSurface() === "words"}>212+ <RecoveryWordEntryView213+ onCancel={() => setRecoverSurface(null)}214+ onRecoveryComplete={props.onUnlock}215+ />216+ </Match>217+210218 {/* ── Unlock (hasVault = true) ───────────────────────────────── */}211219 <Match when={props.hasVault}>212220 <section class="peach-screen peach-theme lock-screen lock-screen--vault-stage" data-motion-phase="enter">@@ -274,14 +282,6 @@274282 </button>275283 </section>276284 </section>277- </Match>278-279- {/* ── Recovery word entry ─────────────────────────────────────── */}280- <Match when={recoverSurface() === "words"}>281- <RecoveryWordEntryView282- onCancel={() => setRecoverSurface(null)}283- onRecoveryComplete={props.onUnlock}284- />285285 </Match>286286 287287 {/* ── Onboarding (hasVault = false) ─────────────────────────── */}