Skip to content

Commit

Permalink
fix(app): fix overeager drop tip errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Dec 15, 2023
1 parent 9842207 commit 7b357cf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/src/organisms/DropTipWizard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,7 @@ export const DropTipWizardComponent = (
],
true
)
.then(commandData => {
const error = commandData[0].data.error
if (error != null) {
setErrorMessage(`error moving to position: ${error.detail}`)
} else proceed()
})
.then(() => proceed())

Check warning on line 510 in app/src/organisms/DropTipWizard/index.tsx

View check run for this annotation

Codecov / codecov/patch

app/src/organisms/DropTipWizard/index.tsx#L510

Added line #L510 was not covered by tests
.catch(e =>
setErrorMessage(
`Error issuing ${
Expand Down

0 comments on commit 7b357cf

Please sign in to comment.