make lightning qr codes clickable

This commit is contained in:
keyan 2021-06-27 13:46:15 -05:00
parent 9a15c228dc
commit 38275b3097
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ export default function LnQR ({ value, statusVariant, status }) {
return ( return (
<> <>
<div> <a className='d-block' href={qrValue}>
<QRCode className='h-auto mw-100' value={qrValue} renderAs='svg' size={300} /> <QRCode className='h-auto mw-100' value={qrValue} renderAs='svg' size={300} />
</div> </a>
<div className='mt-3 w-100'> <div className='mt-3 w-100'>
<CopyInput type='text' placeholder={value} readOnly /> <CopyInput type='text' placeholder={value} readOnly />
</div> </div>