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));
|
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));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue