Skip to content

Commit 0c08c17

Browse files
committed
remove console log
1 parent 97abf10 commit 0c08c17

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export const useValidation = <T, K extends keyof T>(validationClass: Newable<T>)
2222
const validateCallback: ValidationFunction<T, K> = async (payload, filter: K[] = []) => {
2323

2424
let errors = await validate(Object.assign(new (validationClass as any)(), payload));
25-
26-
console.dir(errors);
27-
2825
if (errors.length === 0) {
2926

3027
setErrors({});

0 commit comments

Comments
 (0)