From 8d85426f0e0ceec5297f43f5688d0d9bc4aa4a71 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 26 May 2023 17:09:47 -0300 Subject: remove account when no password --- packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx') diff --git a/packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx b/packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx index 941e28627..74cb0d056 100644 --- a/packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx +++ b/packages/exchange-backoffice-ui/src/pages/UnlockAccount.tsx @@ -6,8 +6,10 @@ import { createNewForm } from "../handlers/forms.js"; export function UnlockAccount({ onAccountUnlocked, + onRemoveAccount, }: { onAccountUnlocked: (password: string) => void; + onRemoveAccount: () => void; }): VNode { const Form = createNewForm<{ password: string; @@ -64,6 +66,15 @@ export function UnlockAccount({ + ); -- cgit v1.2.3