bug: remove avatar from profile QR (CORS)

This commit is contained in:
Kieran 2023-01-29 21:23:19 +00:00
parent eeef3bba7d
commit d8b7dbc91d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -129,8 +129,7 @@ export default function ProfilePage() {
</div> </div>
{showProfileQr && (<Modal onClose={() => setShowProfileQr(false)}> {showProfileQr && (<Modal onClose={() => setShowProfileQr(false)}>
<div className="card"> <div className="card">
<QrCode data={`nostr:${hexToBech32("npub", id)}`} link={undefined} className="m10" <QrCode data={`nostr:${hexToBech32("npub", id)}`} link={undefined} className="m10"/>
avatar={user?.picture}/>
</div> </div>
</Modal>)} </Modal>)}
{isMe ? ( {isMe ? (