fix: display full lightning address, is trimmed if too long

This commit is contained in:
Alejandro Gomez 2023-01-06 17:14:13 +01:00
parent 921122bd89
commit b1cc72cf2d
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -199,7 +199,7 @@ export default function ProfilePage() {
<div className="btn" onClick={(e) => setShowLnQr(true)}>
<FontAwesomeIcon icon={faQrcode} size="xl" />
</div>
<div className="f-ellipsis">&nbsp; {lud16.length > 20 ? lud16.substring(0, 20) : lud16}</div>
<div className="f-ellipsis">&nbsp; {lud16}</div>
</div> : null}
{showLnQr === true ?
<Modal onClose={() => setShowLnQr(false)}>