fix(bip39-generator): typo in validation message

This commit is contained in:
Corentin Thomasset 2022-07-29 10:58:03 +02:00
parent 8a9e7888de
commit 7570ad9656
No known key found for this signature in database
GPG key ID: 3103EB5E79496F9C

View file

@ -123,7 +123,7 @@ const entropyValidation = useValidation({
}, },
{ {
validator: (value) => /^[a-fA-F0-9]*$/.test(value), validator: (value) => /^[a-fA-F0-9]*$/.test(value),
message: 'Entropy should an hexadecimal number', message: 'Entropy should be an hexadecimal string',
}, },
], ],
}); });