diff options
author | 2018-01-19 16:36:26 +0100 | |
---|---|---|
committer | 2018-01-19 16:36:26 +0100 | |
commit | 7b03fa16c50f2250bcc16284016cb05f501ec51a (patch) | |
tree | 0ef0fe0485dae1454ce3915812f1a59d7c6bdc47 /src/helpers/validation-helpers.js | |
parent | Merge pull request #587 from meetfranz/feature/remove-miner (diff) | |
download | ferdium-app-7b03fa16c50f2250bcc16284016cb05f501ec51a.tar.gz ferdium-app-7b03fa16c50f2250bcc16284016cb05f501ec51a.tar.zst ferdium-app-7b03fa16c50f2250bcc16284016cb05f501ec51a.zip |
fix invite screen [object Object] value
mobx-react-form expects nested `fields` property in array
Diffstat (limited to 'src/helpers/validation-helpers.js')
-rw-r--r-- | src/helpers/validation-helpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/validation-helpers.js b/src/helpers/validation-helpers.js index eeb12cab7..a8a242d54 100644 --- a/src/helpers/validation-helpers.js +++ b/src/helpers/validation-helpers.js | |||
@@ -13,7 +13,7 @@ export function email({ field }) { | |||
13 | isValid = true; | 13 | isValid = true; |
14 | } | 14 | } |
15 | 15 | ||
16 | return [isValid, `${field.label} is not a valid email address`]; | 16 | return [isValid, `${field.label} not valid`]; |
17 | } | 17 | } |
18 | 18 | ||
19 | export function url({ field }) { | 19 | export function url({ field }) { |