Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
icnaming-roy committed Feb 28, 2022
1 parent ae17e2e commit 60b0894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Pay.tsx
Expand Up @@ -149,7 +149,7 @@ export const Pay = (props) => {
console.log('You got the name! please check it out from MyAccount')
} else {
console.log('fail confirm order, but payment success')
throw "failed to confirm from api";
throw new Error("failed to confirm from api");
}
}
catch (err) {
Expand Down

0 comments on commit 60b0894

Please sign in to comment.