Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Nov 7, 2024
1 parent 486f0ee commit 41bd01e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ export const createValidator = (callback: ValidationCallback, initialData: Recor
*/
const validate = (name?: string | NamedInputEvent, value?: unknown, config?: ValidationConfig): void => {
if (typeof name === 'undefined') {
// validator.cancel()

validator(config ?? {})

return
Expand Down

0 comments on commit 41bd01e

Please sign in to comment.