Skip to content

Commit e6618e5

Browse files
fix: Remove remaining console.log statements from story files
- Remove console.log from ControlledCheckbox stories - Remove console.log from ControlledDatePicker stories - Remove console.log from ControlledTextArea stories - Replace with appropriate comments for cleaner code This addresses the remaining console statement linting errors that were causing test failures.
1 parent 56ad1ac commit e6618e5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/docs/src/medusa-forms/ControlledCheckbox.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const RequiredValidationForm = () => {
9494
});
9595

9696
const onSubmit = (data: any) => {
97-
console.log('Form submitted:', data);
97+
// Form data processed successfully
9898
};
9999

100100
return (

apps/docs/src/medusa-forms/ControlledDatePicker.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const RequiredFieldValidationComponent = () => {
4949
});
5050

5151
const onSubmit = (data: unknown) => {
52-
console.log('Form submitted:', data);
52+
// Form data processed successfully
5353
};
5454

5555
return (

apps/docs/src/medusa-forms/ControlledTextArea.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const RequiredFieldForm = () => {
128128
});
129129

130130
const onSubmit = (data: unknown) => {
131-
console.log('Form submitted:', data);
131+
// Form data processed successfully
132132
};
133133

134134
return (
@@ -242,7 +242,7 @@ const ValidationErrorForm = () => {
242242
});
243243

244244
const onSubmit = (data: unknown) => {
245-
console.log('Form submitted:', data);
245+
// Form data processed successfully
246246
};
247247

248248
const hasError = !!form.formState.errors.message;
@@ -331,7 +331,7 @@ const ComprehensiveForm = () => {
331331
});
332332

333333
const onSubmit = (data: unknown) => {
334-
console.log('Comprehensive form submitted:', data);
334+
// Form data processed successfully
335335
};
336336

337337
return (

0 commit comments

Comments
 (0)