From 4a0c86f084f27c8e5f5eb4df67f3f4c2cb544c59 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Tue, 8 Jul 2025 12:25:05 -0700 Subject: [PATCH] clean up console logs --- index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 935ee11..0c569c1 100644 --- a/index.ts +++ b/index.ts @@ -115,7 +115,6 @@ export const validate: Action< onvalidate: (e: InputValidatorEvent) => void; } > = (node, buildOpts) => { - console.log('validate rules attached', node, buildOpts); if (!buildOpts) return; const validatorID = nextValidatorID++; @@ -130,7 +129,6 @@ export const validate: Action< return { update: (updateOpts) => { - console.log('update validator options', node, updateOpts); if (updateOpts) propagateOpts(updateOpts); // if current state is invalid, revalidate @@ -431,7 +429,7 @@ export const isInputValid = async ( if (opts.func !== undefined) { const result = await opts.func(node); if (!result) { - console.log('input is invalid', 'val:', val, 'baseval:', opts.baseval); + console.debug('input is invalid', 'val:', val, 'baseval:', opts.baseval, input); return false; } }