forked from Kieran/snort
Merge pull request #12 from v0l/lud
fix: display full lightning address, is trimmed if too long
This commit is contained in:
commit
7831bdbcc2
@ -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"> ⚡️ {lud16.length > 20 ? lud16.substring(0, 20) : lud16}</div>
|
||||
<div className="f-ellipsis"> ⚡️ {lud16}</div>
|
||||
</div> : null}
|
||||
{showLnQr === true ?
|
||||
<Modal onClose={() => setShowLnQr(false)}>
|
||||
|
Loading…
Reference in New Issue
Block a user