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