File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"use client" ;
22
33import dynamic from 'next/dynamic' ;
4+ import { QRCodeSVG } from 'qrcode.react' ;
45import {
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 }
You can’t perform that action at this time.
0 commit comments