From 8924f9642f783245e8183244feef136bd6e2616e Mon Sep 17 00:00:00 2001 From: Gala Date: Wed, 14 Sep 2022 11:35:22 +0200 Subject: [PATCH] wip --- nym-wallet/src/components/textfields.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nym-wallet/src/components/textfields.tsx b/nym-wallet/src/components/textfields.tsx index f8ff814bc8..34df91174d 100644 --- a/nym-wallet/src/components/textfields.tsx +++ b/nym-wallet/src/components/textfields.tsx @@ -5,6 +5,8 @@ import FormControlLabel from '@mui/material/FormControlLabel'; import Checkbox from '@mui/material/Checkbox'; import { Error } from './Error'; +const searchRegExp = /\s/g; + export const MnemonicInput: React.FC<{ mnemonic: string; error?: string; @@ -15,8 +17,8 @@ export const MnemonicInput: React.FC<{ onUpdateMnemonic(e.target.value)} multiline={!!showPassword} autoFocus