Skip to content

Commit

Permalink
FIX: wallet->receive->qr share as an image
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed May 31, 2023
1 parent 917f13b commit 08eaecf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/QRCodeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const QRCodeComponent: React.FC<QRCodeComponentProps> = ({

const handleShareQRCode = () => {
qrCode.current.toDataURL((data: string) => {
data = data.replace(/(\r\n|\n|\r)/gm, '');
const shareImageBase64 = {
url: `data:image/png;base64,${data}`,
};
Expand Down

0 comments on commit 08eaecf

Please sign in to comment.