diff --git a/app/routes/activity/components/components/Modal/Invoice/Invoice.js b/app/routes/activity/components/components/Modal/Invoice/Invoice.js index 540f2b99..ed248760 100644 --- a/app/routes/activity/components/components/Modal/Invoice/Invoice.js +++ b/app/routes/activity/components/components/Modal/Invoice/Invoice.js @@ -5,56 +5,64 @@ import Moment from 'react-moment' import 'moment-timezone' import QRCode from 'qrcode.react' +import copy from 'copy-to-clipboard' +import { showNotification } from 'notifications' -import { FaCircle } from 'react-icons/lib/fa' +import { FaCircle, FaCopy } from 'react-icons/lib/fa' import { btc } from 'utils' import styles from './Invoice.scss' -const Invoice = ({ invoice, ticker, currentTicker }) => ( -
+ } +
+ {invoice.payment_request}
+ copyOnClick(invoice.payment_request)} className='hint--left' data-hint='Copy Invoice'>
+
Created on
-