From bab48c809a8c7d0580676d45e91ef6a5f17e234d Mon Sep 17 00:00:00 2001 From: ryanml Date: Mon, 6 Dec 2021 12:17:56 -0700 Subject: [PATCH] Clear the clipboard after seed phrase is pasted (Restore vault) (#12987) --- ui/pages/keychains/restore-vault.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/pages/keychains/restore-vault.js b/ui/pages/keychains/restore-vault.js index 72a7bd9a1..f300326e6 100644 --- a/ui/pages/keychains/restore-vault.js +++ b/ui/pages/keychains/restore-vault.js @@ -10,6 +10,7 @@ import { import { DEFAULT_ROUTE } from '../../helpers/constants/routes'; import TextField from '../../components/ui/text-field'; import Button from '../../components/ui/button'; +import { clearClipboard } from '../../helpers/utils/util'; const { isValidMnemonic } = ethers.utils; @@ -173,6 +174,7 @@ class RestoreVaultPage extends Component { {showSeedPhrase ? (