diff --git a/app/routes/activity/components/components/Modal/Invoice/Invoice.js b/app/routes/activity/components/components/Modal/Invoice/Invoice.js index ed248760..c8d06b8b 100644 --- a/app/routes/activity/components/components/Modal/Invoice/Invoice.js +++ b/app/routes/activity/components/components/Modal/Invoice/Invoice.js @@ -16,10 +16,11 @@ import styles from './Invoice.scss' const Invoice = ({ invoice, ticker, currentTicker }) => { - const copyOnClick = (data) => { - copy(data) + const copyPaymentRequest = () => { + copy(invoice.payment_request) showNotification('Noice', 'Successfully copied to clipboard') } + return (
+
{invoice.payment_request}
- copyOnClick(invoice.payment_request)} className='hint--left' data-hint='Copy Invoice'>
+