Skip to content

Commit

Permalink
fix: remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 23, 2024
1 parent 1dd4f4f commit fe6fd7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/curve-lib/src/shared/lib/validation/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ export const checkValidity = <D extends object, S extends Suite<any, any>>(
suite: S,
data: FieldsOf<D>,
fields?: FieldName<D>[]
): boolean => {
if (!suite) debugger;
return Object.keys(suite(data, fields).getErrors()).length === 0
}
): boolean => Object.keys(suite(data, fields).getErrors()).length === 0

export function assertValidity<D extends object, S extends Suite<any, any>>(
suite: S,
Expand Down

0 comments on commit fe6fd7b

Please sign in to comment.