Revert unneeded changes.

This commit is contained in:
Pedro Silva 2024-01-03 11:18:30 +00:00
parent 282d1a73e0
commit c2946b0516
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3

View file

@ -48,7 +48,7 @@ class CheckoutActionHandler {
configuration() {
const spinner = this.spinner;
const createOrder = async (data, actions) => {
const createOrder = (data, actions) => {
const payer = payerData();
const bnCode = typeof this.config.bn_codes[this.config.context] !== 'undefined' ?
this.config.bn_codes[this.config.context] : '';
@ -136,7 +136,7 @@ class CheckoutActionHandler {
console.error(err);
spinner.unblock();
if (err && (err.type === 'create-order-error')) {
if (err && err.type === 'create-order-error') {
return;
}