refactor: remove logging errors, indentation
This commit is contained in:
parent
e7f778274f
commit
d380ac7a82
|
@ -330,11 +330,9 @@ const zap = (status: StatusEntity, amount: number, comment:string) => (dispatch:
|
|||
dispatch(zapSuccess(status));
|
||||
return undefined;
|
||||
} catch (e) { // In case it fails we just return the invoice so the QR code can be created
|
||||
console.log(e);
|
||||
return invoice;
|
||||
}
|
||||
}).catch(function(e) {
|
||||
console.log(e);
|
||||
dispatch(zapFail(status, e));
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue