From e7c0addb151a73b8260f3ef81067dee095b41a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Bardaj=C3=AD=20Puig?= Date: Mon, 29 Jul 2024 10:42:52 +0200 Subject: [PATCH] Allow pasting seed phrase (#360) --- src/app/components/seedPhraseInput/index.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/components/seedPhraseInput/index.tsx b/src/app/components/seedPhraseInput/index.tsx index d6f54698d..fdcc03800 100644 --- a/src/app/components/seedPhraseInput/index.tsx +++ b/src/app/components/seedPhraseInput/index.tsx @@ -68,11 +68,9 @@ const SeedWordInput = React.forwardRef( const handlePasteInput = (e: React.ClipboardEvent) => { e.preventDefault(); - if (DEV_MODE || process.env.WALLET_LABEL) { - const { clipboardData } = e; - const pastedText = clipboardData.getData('text'); - handlePaste(pastedText); - } + const { clipboardData } = e; + const pastedText = clipboardData.getData('text'); + handlePaste(pastedText); }; return (