Skip to content

Commit 9f0869b

Browse files
committed
fix: remove console.log statements from MockDataSource and ObjectForm to clean up output
1 parent f11acbd commit 9f0869b

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

apps/console/src/__tests__/ObjectFormUnit.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class MockDataSource implements DataSource {
4444
}
4545

4646
async create(_objectName: string, data: any): Promise<any> {
47-
console.log('MockDataSource.create received:', data);
4847
return { ...data, id: 'new-id' };
4948
}
5049

packages/plugin-form/src/ObjectForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ export const ObjectForm: React.FC<ObjectFormProps> = ({
275275
}
276276
}
277277

278-
console.log('ObjectForm submitting data:', formData);
279278
// For inline fields without a dataSource, just call the success callback
280279
if (hasInlineFields && !dataSource) {
281280
if (schema.onSuccess) {

0 commit comments

Comments
 (0)