Merge pull request #12 from v0l/lud

fix: display full lightning address, is trimmed if too long
This commit is contained in:
Kieran 2023-01-06 18:32:39 +00:00 committed by GitHub
commit 7831bdbcc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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