Skip to content

Commit 3782a11

Browse files
committed
Code refactored
1 parent dccdd17 commit 3782a11

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ui/src/components/AdvancePropertise/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ const AdvancePropertise = (props: SchemaProps) => {
298298
};
299299

300300
const handleDragOver = (e:React.DragEvent<HTMLDivElement>, index:number) => {
301-
console.log("inside function");
302-
303301
e.preventDefault();
304302
document.querySelectorAll('.element-wrapper').forEach((el, i) => {
305303
if (i === index) {

ui/src/pages/Migration/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const Migration = () => {
122122
}
123123
} catch (error) {
124124
// return error;
125-
console.log(error);
125+
console.error(error);
126126
}
127127
};
128128

@@ -138,7 +138,7 @@ const Migration = () => {
138138
}
139139
} catch (error) {
140140
// return error;
141-
console.log(error);
141+
console.error(error);
142142
}
143143
}
144144

@@ -442,7 +442,6 @@ const Migration = () => {
442442
Object.values(newMigrationData?.destination_stack?.localeMapping)?.some(
443443
(value) => value !== '' || value !== null || value !== undefined
444444
);
445-
console.log(hasNonEmptyMapping);
446445

447446
const master_locale:any = {};
448447
const locales: any= {};
@@ -592,7 +591,7 @@ const Migration = () => {
592591
}
593592
} catch (error) {
594593
// return error;
595-
console.log(error);
594+
console.error(error);
596595
}
597596
}
598597

0 commit comments

Comments
 (0)