aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/pages/HandleAccountNotReady.tsx
diff options
context:
space:
mode:
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);
}}