Skip to content

Commit

Permalink
chore: disable lock button while locking wallet (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni authored May 21, 2024
1 parent 82f2ae7 commit 1a620f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
<>
Expand Down

0 comments on commit 1a620f3

Please sign in to comment.