refactor: remove logging errors, indentation

This commit is contained in:
P. Reis 2024-06-02 10:06:04 -03:00
parent e7f778274f
commit d380ac7a82
1 changed files with 1 additions and 3 deletions

View File

@ -330,11 +330,9 @@ const zap = (status: StatusEntity, amount: number, comment:string) => (dispatch:
dispatch(zapSuccess(status)); dispatch(zapSuccess(status));
return undefined; return undefined;
} catch (e) { // In case it fails we just return the invoice so the QR code can be created } catch (e) { // In case it fails we just return the invoice so the QR code can be created
console.log(e);
return invoice; return invoice;
} }
}).catch(function(e) { }).catch(function(e) {
console.log(e);
dispatch(zapFail(status, e)); dispatch(zapFail(status, e));
}); });
}; };