aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-26 17:09:47 -0300
committerSebastian <sebasjm@gmail.com>2023-05-26 17:09:47 -0300
commit8d85426f0e0ceec5297f43f5688d0d9bc4aa4a71 (patch)
treeac042287e736b1921a47cb93281dc0dc8ea45ff8 /packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
parent69b66e715eae039330898f470a8993d1d154b583 (diff)
downloadwallet-core-8d85426f0e0ceec5297f43f5688d0d9bc4aa4a71.tar.xz
remove account when no password
Diffstat (limited to 'packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx')
-rw-r--r--packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx b/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
index b0c430875..05fd0a019 100644
--- a/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
+++ b/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
@@ -21,6 +21,9 @@ export function HandleAccountNotReady({
if (officer.state === "locked") {
return (
<UnlockAccount
+ onRemoveAccount={() => {
+ officer.forget();
+ }}
onAccountUnlocked={(pwd) => {
officer.tryUnlock(pwd);
}}