Skip to content

Commit

Permalink
feat: hide copy button if mnemonic is encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed Aug 13, 2024
1 parent 52391e5 commit a2c85e9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions apps/wallet/src/ui/app/pages/accounts/BackupMnemonicPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,15 @@ export function BackupMnemonicPage() {
)}
</Loading>
</div>
<div className="flex justify-end">
<Button
onClick={handleCopy}
type={ButtonType.Secondary}
text={mnemonicCopied ? 'Copied' : 'Copy'}
/>
</div>
{false && (
<div className="flex justify-end">
<Button
onClick={handleCopy}
type={ButtonType.Secondary}
text={mnemonicCopied ? 'Copied' : 'Copy'}
/>
</div>
)}
</div>
<div className="flex w-full flex-col">
<div className="flex w-full py-sm--rs">
Expand Down

0 comments on commit a2c85e9

Please sign in to comment.