Skip to content

Commit cbc07fd

Browse files
committed
Removed debug statement.
1 parent a638859 commit cbc07fd

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Headlines: Added, Changed, Deprecated, Removed, Fixed, Security
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
12+
- Removed debug statement left from 1.5.3
13+
814
## [1.5.3] - 2023-08-16
915

1016
### Fixed

src/lib/client/formEnhance.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,6 @@ export function formEnhance<T extends AnyZodObject, M>(
188188
}
189189

190190
for (const change of get(lastChanges)) {
191-
console.log(
192-
'🚀 ~ file: formEnhance.ts:184 ~ checkBlur ~ change:',
193-
change
194-
);
195191
let validityEl: HTMLElement | null = null;
196192

197193
if (options.customValidity) {

src/lib/superValidate.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,7 @@ function formDataToValidation<T extends AnyZodObject>(
198198
return newValue;
199199
}
200200

201-
/*
202-
console.log(
203-
`FormData field "${field}" (${zodType._def.typeName}): ${value}`
204-
);
205-
*/
201+
//console.log(`FormData field "${field}" (${zodType._def.typeName}): ${value}`
206202

207203
if (zodType._def.typeName == 'ZodString') {
208204
return value;

0 commit comments

Comments
 (0)