Remove logs

This commit is contained in:
Kieran 2023-01-06 20:11:52 +00:00
parent 456bd1b2fb
commit 8c0b0ac986
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -9,7 +9,7 @@ export default function Invoice(props) {
const info = useMemo(() => {
try {
let parsed = invoiceDecode(invoice);
console.debug("Parsed invoice: ", parsed);
let amount = parseInt(parsed.sections.find(a => a.name === "amount")?.value);
let timestamp = parseInt(parsed.sections.find(a => a.name === "timestamp")?.value);
let expire = parseInt(parsed.sections.find(a => a.name === "expiry")?.value);
@ -22,7 +22,6 @@ export default function Invoice(props) {
if (ret.expire) {
ret.expired = ret.expire < (new Date().getTime() / 1000);
}
console.log(ret);
return ret;
} catch (e) {
console.error(e);