diff --git a/src/ui/views/AddressBackup/Mnemonics.tsx b/src/ui/views/AddressBackup/Mnemonics.tsx index 32a8b92d1f7..9931ee94315 100644 --- a/src/ui/views/AddressBackup/Mnemonics.tsx +++ b/src/ui/views/AddressBackup/Mnemonics.tsx @@ -1,6 +1,5 @@ import React, { useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { useWallet } from 'ui/utils'; import './style.less'; import { InfoCircleOutlined } from '@ant-design/icons'; import { Button } from 'antd'; @@ -20,7 +19,6 @@ import QRCode from 'qrcode.react'; import { ReactComponent as RcIconQrCode } from 'ui/assets/qrcode-cc.svg'; const AddressBackup = () => { - const wallet = useWallet(); const { t } = useTranslation(); const history = useHistory(); @@ -91,11 +89,11 @@ const AddressBackup = () => { )} {t('page.backupSeedPhrase.title')} -
+
{t('page.backupSeedPhrase.alert')}
-
+
setMasked(false)} @@ -106,6 +104,34 @@ const AddressBackup = () => { {t('page.backupSeedPhrase.clickToShow')}

+
+
+ + {t('page.backupSeedPhrase.showQrCode')} +
+
+ + {t('page.backupSeedPhrase.copySeedPhrase')} +
+
{ )}
-
-
- - {t('page.backupSeedPhrase.showQrCode')} -
-
- - {t('page.backupSeedPhrase.copySeedPhrase')} -
-
-
+