removed a console log :D
This commit is contained in:
parent
a93bb13917
commit
f6314d0c2b
|
@ -2,7 +2,6 @@ import {validator} from 'vendor';
|
|||
|
||||
export const validators = {
|
||||
presence: value => {
|
||||
console.log(value, validator.isEmpty(value.toString()));
|
||||
if (validator.isEmpty(value.toString()))
|
||||
throw new Error(`Value can't be empty`);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue