prevent default on privacy invoice info click

This commit is contained in:
keyan 2022-09-02 11:58:16 -05:00
parent 297270f34d
commit 58eb840adb
2 changed files with 9 additions and 3 deletions

View File

@ -16,7 +16,13 @@ export default function Info ({ children }) {
{children}
</Modal.Body>
</Modal>
<InfoIcon width={18} height={18} className='fill-theme-color pointer ml-1' onClick={() => setInfo(true)} />
<InfoIcon
width={18} height={18} className='fill-theme-color pointer ml-1'
onClick={(e) => {
e.preventDefault()
setInfo(true)
}}
/>
</>
)
}

View File

@ -118,9 +118,9 @@ export default function Settings ({ data: { settings } }) {
<ul className='font-weight-bold'>
<li>Use this if you don't want funding sources to be linkable to your SN identity.</li>
<li>It makes your invoice descriptions blank.</li>
<li>This only applies invoices you create
<li>This only applies to invoices you create
<ul>
<li>lnurl-pay or lightning addresses still reference your nym</li>
<li>lnurl-pay and lightning addresses still reference your nym</li>
</ul>
</li>
</ul>