We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377157a commit e6c43a4Copy full SHA for e6c43a4
src/transformYup/transformYup.tsx
@@ -19,8 +19,6 @@ const transformSchema = (data) => {
19
if(yupType){
20
let keysValidation: Array<any> = Object.keys(values);
21
let structureFunction = `return ${yupType}${getKeys(keysValidation, values)}`;
22
- console.log(structureFunction);
23
-
24
let getSchema = new Function("yup", structureFunction);
25
schema = { ...schema, [nameField]: getSchema(yup) };
26
}
0 commit comments