From 1a620f305bcacbdd5a83c63389af1e1d02e0a6bb Mon Sep 17 00:00:00 2001 From: Thebora Kompanioni Date: Tue, 21 May 2024 09:21:23 +0200 Subject: [PATCH] chore: disable lock button while locking wallet (#759) --- src/components/Settings.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index d9801e65..7ff18bd5 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -194,6 +194,7 @@ export default function Settings({ wallet, stopWallet }: SettingsProps) { variant="outline-dark" className={styles['settings-btn']} onClick={() => lockWallet({ force: false, navigateTo: routes.walletList })} + disabled={lockingWallet} > {lockingWallet ? ( <>