Skip to content

Commit 6a5053a

Browse files
fix(wallet): replace Lucide QrCode icon with real QRCodeSVG encoding address
1 parent a234049 commit 6a5053a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

app/(merchant)/wallet/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22

33
import dynamic from 'next/dynamic';
4+
import { QRCodeSVG } from 'qrcode.react';
45
import {
56
Card,
67
CardContent,
@@ -355,8 +356,13 @@ export default function WalletPage() {
355356
<DialogDescription>Scan to transfer Stellar assets</DialogDescription>
356357
</DialogHeader>
357358
<div className="flex flex-col items-center py-4 space-y-4">
358-
<div className="w-48 h-48 bg-muted rounded-xl flex items-center justify-center border border-border">
359-
<QrCode className="w-32 h-32 text-foreground/80" />
359+
<div className="w-48 h-48 bg-white rounded-xl flex items-center justify-center border border-border p-2">
360+
<QRCodeSVG
361+
value={address ? `web+stellar:pay?destination=${address}` : ''}
362+
size={160}
363+
level="M"
364+
includeMargin={false}
365+
/>
360366
</div>
361367
<p className="text-xs text-muted-foreground font-mono break-all max-w-full">
362368
{address}

0 commit comments

Comments
 (0)