Skip to content

Commit

Permalink
feat: add busy states
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuditi committed May 30, 2024
1 parent 1ab7f3c commit 8fbda35
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@
async function onBackupClick(): Promise<void> {
try {
busy = true
await exportStronghold(password, handleExportStrongholdResponse)
onAdvanceView()
} catch (err) {
console.error(err)
} finally {
busy = false
}
}
Expand Down

0 comments on commit 8fbda35

Please sign in to comment.