Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yushih committed Nov 13, 2024
1 parent 0c0e1b4 commit abe2010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yoroi-extension/app/api/thunk.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function handleKnownSubmissionErrors<
>(
result: T,
): void {
if (result.error?.includes('api.errors.invalidWitnessError')) {
if (result?.error?.includes('api.errors.invalidWitnessError')) {
throw new InvalidWitnessError()
}
}

0 comments on commit abe2010

Please sign in to comment.