mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: remove avatar from lightning address QR (#2509)
The avatar overlay made the QR code hard to scan, especially for short lightning addresses. Without center content the QR also drops back to a lower error correction level, improving scannability. Fixes #2507 Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
35d666d469
commit
d94f6933f5
1 changed files with 0 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ import { Link } from "react-router";
|
|||
import FirstChannelJitAlert from "src/components/FirstChannelJitAlert";
|
||||
import Loading from "src/components/Loading";
|
||||
import QRCode from "src/components/QRCode";
|
||||
import UserAvatar from "src/components/UserAvatar";
|
||||
import {
|
||||
Accordion,
|
||||
AccordionContent,
|
||||
|
|
@ -39,7 +38,6 @@ export function ReceiveToLightning() {
|
|||
value={me.lightning_address}
|
||||
className="h-auto w-full"
|
||||
frameType="lightning"
|
||||
centerContent={<UserAvatar className="size-12 rounded-full" />}
|
||||
/>
|
||||
<div className="flex max-w-full items-center justify-center gap-1">
|
||||
<p className="min-w-0 text-center font-medium text-lg break-all">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue