Skip to content

Commit

Permalink
resets ledger ui status between errors
Browse files Browse the repository at this point in the history
removes the error status (e.g., 'Open Ledger App Ironfish') after the user has
resolved the cause of the error
  • Loading branch information
hughy committed Oct 7, 2024
1 parent 5cd8120 commit f56bea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ironfish-cli/src/ui/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export async function ledger<TResult>({
// eslint-disable-next-line no-constant-condition
while (true) {
try {
ux.action.status = undefined
const result = await action()
ux.action.stop()
return result
Expand Down

0 comments on commit f56bea0

Please sign in to comment.