mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
add lightning address and qr modal
This commit is contained in:
1 parent
346ba70710
commit
1701cce6b0
2 files changed
+62
-1
No files matched your search
@@ -125,7 +125,9 @@ export function QRModal({
|
||||
onClick={handleCopy}
|
||||
title="Click to copy full content"
|
||||
>
|
||||
{content.length > 20 ? `${content.substring(0, 20)}...` : content}
|
||||
{content.length > 33
|
||||
? `${content.substring(0, 15)}...${content.substring(content.length - 15)}`
|
||||
: content}
|
||||
<div className="absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
{copied ? (
|
||||
<Check className="h-4 w-4 text-green-600" />
|
||||
|
||||
Reference in new issue
Block a user