diff --git a/components/invoice.js b/components/invoice.js index a4380f9e..45440aa1 100644 --- a/components/invoice.js +++ b/components/invoice.js @@ -118,7 +118,7 @@ const ActionInvoice = ({ id, hash, hmac, errorCount, repeat, ...props }) => { return
error
} if (!data || loading) { - return + return } let errorStatus = 'Something went wrong trying to perform the action after payment.' diff --git a/components/qr.js b/components/qr.js index 44169219..5a7f866a 100644 --- a/components/qr.js +++ b/components/qr.js @@ -37,11 +37,12 @@ export default function Qr ({ asIs, value, webLn, statusVariant, description, st ) } -export function QrSkeleton ({ status }) { +export function QrSkeleton ({ status, description }) { return ( <> -
-
+
+ {description &&
.
} +
diff --git a/pages/invoices/[id].js b/pages/invoices/[id].js index edd5c3d2..37457efd 100644 --- a/pages/invoices/[id].js +++ b/pages/invoices/[id].js @@ -19,7 +19,7 @@ export default function FullInvoice () { return ( {error &&
{error.toString()}
} - {data ? : } + {data ? : }
) }