fix: clear password field and error in showTxApproval
All checks were successful
check / check (push) Successful in 22s

Clears #approve-tx-password value and hides #approve-tx-error when the
transaction approval view is shown, matching the pattern used in
showSignApproval and confirmTx.show.

Closes #85
This commit is contained in:
user
2026-02-28 13:10:17 -08:00
parent 3b6b18d168
commit 9b69a60cca

View File

@@ -254,6 +254,9 @@ function showTxApproval(details) {
$("approve-tx-data-section").classList.add("hidden");
}
$("approve-tx-password").value = "";
$("approve-tx-error").classList.add("hidden");
showView("approve-tx");
}