From 9de16b677140d6437d314d8ad026eedb7eab86db Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Thu, 16 May 2024 09:32:00 +0200 Subject: [PATCH] chore: disable lock button while locking wallet --- 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 ? ( <>