remove reminder that you can overpay an invoice

This commit is contained in:
keyan 2023-08-31 10:37:58 -05:00
parent 3e0167a4aa
commit ed722fffdd
1 changed files with 2 additions and 3 deletions

View File

@ -74,7 +74,6 @@ export function Invoice ({ invoice, onPayment, info, successVerb }) {
}
const MutationInvoice = ({ id, hash, hmac, errorCount, repeat, onClose, expiresAt, ...props }) => {
const me = useMe()
const { data, loading, error } = useQuery(INVOICE, {
pollInterval: 1000,
variables: { id }
@ -100,10 +99,10 @@ const MutationInvoice = ({ id, hash, hmac, errorCount, repeat, onClose, expiresA
if (errorCount > 1) {
errorStatus = 'Something still went wrong.\nYou can retry or cancel the invoice to return your funds.'
}
const info = me ? 'Any additional received sats will fund your account' : null
return (
<>
<Invoice invoice={data.invoice} info={info} {...props} />
<Invoice invoice={data.invoice} {...props} />
{errorCount > 0
? (
<>