Skip to content

Commit 288892e

Browse files
authored
Remove QR code for passphrase (#2586)
1 parent efc2426 commit 288892e

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

styles/wallet.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,5 @@
141141
gap: 0.5rem;
142142
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
143143
container-type: inline-size;
144+
margin: 2rem 0;
144145
}

wallets/client/components/passphrase.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react'
22
import { CopyButton } from '@/components/form'
3-
import { QRCodeSVG } from 'qrcode.react'
43
import styles from '@/styles/wallet.module.css'
54

65
export function Passphrase ({ passphrase }) {
@@ -13,11 +12,6 @@ export function Passphrase ({ passphrase }) {
1312
<p className='fw-bold line-height-md'>
1413
This is the only time we will show it to you.
1514
</p>
16-
<div className='d-flex justify-content-center'>
17-
<QRCodeSVG
18-
className='h-auto mx-auto mw-100 my-3' size={256} value={passphrase} marginSize={1}
19-
/>
20-
</div>
2115
<div
2216
className={styles.passphrase}
2317
>

wallets/client/hooks/crypto.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ export function usePassphrasePrompt () {
260260
placeholder=''
261261
required
262262
autoFocus
263-
qr
264263
/>
265264
<div className='mt-3'>
266265
<div className='d-flex justify-content-between align-items-center'>

0 commit comments

Comments
 (0)